summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/conftest.py1
-rw-r--r--tests/test_output.py8
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",