summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2025-07-10 15:39:18 +0200
committerGitHub <noreply@github.com>2025-07-10 09:39:18 -0400
commit69929236217974f98b58cf3c458835b91c4cb35d (patch)
tree46f33a40eae165998e6666c854a1f5e358d1d595
parent25904bbd311d020b2e9794fff1261b49cefcf7da (diff)
fix(test): fix output tests being fluky (#3859)
Fixes #3855.
-rw-r--r--tests/test_output.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_output.py b/tests/test_output.py
index 3955357a..afccca7e 100644
--- a/tests/test_output.py
+++ b/tests/test_output.py
@@ -17,7 +17,9 @@ class OutputTest(TestCase):
stitch_groups = element.embroider(None)
stitch_plan = stitch_groups_to_stitch_plan(stitch_groups)
path = self.temp_file(suffix=f".{format}")
- output.write_embroidery_file(path, stitch_plan, svg)
+ output.write_embroidery_file(path, stitch_plan, svg, settings={
+ "date": "", # we need the output to be deterministic for the tests
+ })
with open(path, "rb") as f:
return f.read()