From 73f785af7cacb47c492bd8f12df2f01799a7445a Mon Sep 17 00:00:00 2001 From: "Christian T. Jacobs" Date: Sat, 24 Jun 2017 16:50:51 +0100 Subject: [PATCH] flake8 --- tests/test_logbook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_logbook.py b/tests/test_logbook.py index 3ecc91f..cc3c11f 100644 --- a/tests/test_logbook.py +++ b/tests/test_logbook.py @@ -55,7 +55,7 @@ class TestLogbook(unittest.TestCase): @mock.patch('pyqso.auxiliary_dialogs.handle_gtk_dialog') def test_open_invalid_logbook(self, mock_handle_gtk_dialog): """ Open an invalid database file (comprising only one line of plain text) and check that an error occurs. """ - path_to_invalid_database = os.path.join(os.path.realpath(os.path.dirname(__file__)), os.pardir, "res/invalid.db") + path_to_invalid_database = os.path.join(os.path.realpath(os.path.dirname(__file__)), os.pardir, "res/invalid.db") opened = self.logbook.open(path=path_to_invalid_database, render=False) assert(not opened) assert(self.logbook.logs is None)