From 083b4a3b539c13435c85c9b214a9809474bc8b99 Mon Sep 17 00:00:00 2001 From: kulath Date: Fri, 19 Aug 2016 21:27:53 +0100 Subject: [PATCH] Comment out useless ErrorReportAssistant test, and fix whitespace --- test/GrampsLogger/ErrorReportAssistant_Test.py | 11 ++++++----- test/GrampsLogger/GtkHandler_Test.py | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/test/GrampsLogger/ErrorReportAssistant_Test.py b/test/GrampsLogger/ErrorReportAssistant_Test.py index 13e928477..9bb734bd6 100644 --- a/test/GrampsLogger/ErrorReportAssistant_Test.py +++ b/test/GrampsLogger/ErrorReportAssistant_Test.py @@ -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) diff --git a/test/GrampsLogger/GtkHandler_Test.py b/test/GrampsLogger/GtkHandler_Test.py index 385040214..d11db9256 100644 --- a/test/GrampsLogger/GtkHandler_Test.py +++ b/test/GrampsLogger/GtkHandler_Test.py @@ -61,7 +61,7 @@ class GtkHandlerTest(unittest.TestCase): # wibble # except: # l.error(log_message,exc_info=True) -# +# # while Gtk.events_pending(): # Gtk.main_iteration()