Comment out useless ErrorReportAssistant test, and fix whitespace

This commit is contained in:
kulath 2016-08-19 21:27:53 +01:00
parent fbb884b6ea
commit 083b4a3b53
2 changed files with 7 additions and 6 deletions

View File

@ -54,11 +54,12 @@ class ErrorReportAssistantTest(TestCaseBase):
l.addHandler(rh)
l.info("info message")
error_detail="Test error"
ass = _errorreportassistant.ErrorReportAssistant(error_detail=error_detail,
rotate_handler=rh)
assert ass._error_detail == error_detail
# Comment this out because there is noone to close the dialogue
# error_detail="Test error"
# ass = _errorreportassistant.ErrorReportAssistant(error_detail=error_detail,
# rotate_handler=rh)
#
# assert ass._error_detail == error_detail
l.removeHandler(rh)

View File

@ -61,7 +61,7 @@ class GtkHandlerTest(unittest.TestCase):
# wibble
# except:
# l.error(log_message,exc_info=True)
#
#
# while Gtk.events_pending():
# Gtk.main_iteration()