diff options
| author | Martin Fischer <martin@push-f.com> | 2025-07-10 15:39:18 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-10 09:39:18 -0400 |
| commit | 69929236217974f98b58cf3c458835b91c4cb35d (patch) | |
| tree | 46f33a40eae165998e6666c854a1f5e358d1d595 | |
| parent | 25904bbd311d020b2e9794fff1261b49cefcf7da (diff) | |
fix(test): fix output tests being fluky (#3859)
Fixes #3855.
| -rw-r--r-- | tests/test_output.py | 4 |
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() |
