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)