diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2025-07-01 05:49:30 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-01 06:49:30 +0300 |
| commit | 4a08f503bd9897d9446fcdaa300b216083b470ee (patch) | |
| tree | 38cbd5335f2749119bb4c1682daa5a1f013d85d6 | |
| parent | 81e48c151b5d55703049163c441538c041e31ff5 (diff) | |
fix style (#3838)
| -rw-r--r-- | tests/conftest.py | 1 | ||||
| -rw-r--r-- | 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", |
