From e99cc063597638117510dfe01432a2f08aebcfe2 Mon Sep 17 00:00:00 2001 From: merydian Date: Thu, 24 Oct 2024 10:01:47 +0200 Subject: [PATCH] style: run ruff --- tests/conftest.py | 1 + tests/test_gui.py | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index 78dcd20..d2ac028 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -12,6 +12,7 @@ s = QgsSettings() data = s.value("ORStools/config") + def pytest_sessionstart(session): """ Called after the Session object has been created and diff --git a/tests/test_gui.py b/tests/test_gui.py index b9b0372..4986b81 100644 --- a/tests/test_gui.py +++ b/tests/test_gui.py @@ -63,6 +63,4 @@ def test_ORStoolsDialog(self): dlg.line_tool.canvasDoubleClickEvent(map_dclick) self.assertTrue(dlg.isVisible()) - self.assertEqual( - dlg.routing_fromline_list.item(0).text(), "Point 0: -0.187575, 56.516620" - ) + self.assertEqual(dlg.routing_fromline_list.item(0).text(), "Point 0: -0.187575, 56.516620")