Comment out useless ErrorReportAssistant test, and fix whitespace
This commit is contained in:
parent
fbb884b6ea
commit
083b4a3b53
@ -54,11 +54,12 @@ class ErrorReportAssistantTest(TestCaseBase):
|
|||||||
l.addHandler(rh)
|
l.addHandler(rh)
|
||||||
l.info("info message")
|
l.info("info message")
|
||||||
|
|
||||||
error_detail="Test error"
|
# Comment this out because there is noone to close the dialogue
|
||||||
ass = _errorreportassistant.ErrorReportAssistant(error_detail=error_detail,
|
# error_detail="Test error"
|
||||||
rotate_handler=rh)
|
# ass = _errorreportassistant.ErrorReportAssistant(error_detail=error_detail,
|
||||||
|
# rotate_handler=rh)
|
||||||
assert ass._error_detail == error_detail
|
#
|
||||||
|
# assert ass._error_detail == error_detail
|
||||||
|
|
||||||
l.removeHandler(rh)
|
l.removeHandler(rh)
|
||||||
|
|
||||||
|
@ -61,7 +61,7 @@ class GtkHandlerTest(unittest.TestCase):
|
|||||||
# wibble
|
# wibble
|
||||||
# except:
|
# except:
|
||||||
# l.error(log_message,exc_info=True)
|
# l.error(log_message,exc_info=True)
|
||||||
#
|
#
|
||||||
# while Gtk.events_pending():
|
# while Gtk.events_pending():
|
||||||
# Gtk.main_iteration()
|
# Gtk.main_iteration()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user