From 4a08f503bd9897d9446fcdaa300b216083b470ee Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Tue, 1 Jul 2025 05:49:30 +0200 Subject: fix style (#3838) --- tests/conftest.py | 1 + tests/test_output.py | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index c4e58897..1cdb74d2 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -2,6 +2,7 @@ import pytest import lib.utils.settings + @pytest.fixture(scope="session", autouse=True) def disable_cache(): # We disable the cache because Nix executes our tests with a non-writable HOME directory. diff --git a/tests/test_output.py b/tests/test_output.py index 476b73c7..3955357a 100644 --- a/tests/test_output.py +++ b/tests/test_output.py @@ -1,11 +1,11 @@ +from inkex import Rectangle, SvgDocumentElement from inkex.tester import TestCase -from inkex import SvgDocumentElement, Rectangle from inkex.tester.svg import svg -from lib.svg.tags import INKSTITCH_ATTRIBS from lib import output -from lib.stitch_plan.stitch_plan import StitchPlan, stitch_groups_to_stitch_plan from lib.elements.utils import node_to_elements +from lib.stitch_plan.stitch_plan import stitch_groups_to_stitch_plan +from lib.svg.tags import INKSTITCH_ATTRIBS class OutputTest(TestCase): @@ -23,7 +23,7 @@ class OutputTest(TestCase): def test_jef_output_does_not_change(self): root: SvgDocumentElement = svg() - rect = root.add( + root.add( Rectangle( attrib={ "width": "10", -- cgit v1.2.3