Skip to content

Commit 3e9c68f

Browse files
merydiankoebi
authored andcommitted
style: run ruff
1 parent d13ea16 commit 3e9c68f

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

tests/conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
s = QgsSettings()
1313
data = s.value("ORStools/config")
1414

15+
1516
def pytest_sessionstart(session):
1617
"""
1718
Called after the Session object has been created and

tests/test_gui.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,4 @@ def test_ORStoolsDialog(self):
6363
dlg.line_tool.canvasDoubleClickEvent(map_dclick)
6464

6565
self.assertTrue(dlg.isVisible())
66-
self.assertEqual(
67-
dlg.routing_fromline_list.item(0).text(), "Point 0: -0.187575, 56.516620"
68-
)
66+
self.assertEqual(dlg.routing_fromline_list.item(0).text(), "Point 0: -0.187575, 56.516620")

tests/test_proc.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,9 @@ def test_export(self):
195195
export = ORSExportAlgo().create()
196196
dest_id = export.processAlgorithm(parameters, self.context, self.feedback)
197197
processed_layer = QgsProcessingUtils.mapLayerFromString(dest_id["OUTPUT"], self.context)
198-
processed_nodes = QgsProcessingUtils.mapLayerFromString(dest_id["OUTPUT_POINT"], self.context)
198+
processed_nodes = QgsProcessingUtils.mapLayerFromString(
199+
dest_id["OUTPUT_POINT"], self.context
200+
)
199201

200202
self.assertEqual(type(processed_layer), QgsVectorLayer)
201203
self.assertEqual(type(processed_nodes), QgsVectorLayer)

0 commit comments

Comments
 (0)