kopia lustrzana https://github.com/inkstitch/inkstitch
fix(test): fix output tests being fluky (#3859)
Fixes #3855.pull/3863/head dev-build-kaalleen-empty-rail-issue
rodzic
25904bbd31
commit
6992923621
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue