diff options
author | jaseg <git@jaseg.de> | 2023-02-23 23:52:29 +0100 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2023-02-23 23:52:29 +0100 |
commit | d43eff8b49022719b2933e8429a05e3a35b8762f (patch) | |
tree | 49216eca4fe9f42e9a4f1b3f35825e98a2fa5005 /gerbonara/tests/test_rs274x.py | |
parent | 70179a4178d6574182cbc80de211a933b79ffa8a (diff) | |
download | gerbonara-d43eff8b49022719b2933e8429a05e3a35b8762f.tar.gz gerbonara-d43eff8b49022719b2933e8429a05e3a35b8762f.tar.bz2 gerbonara-d43eff8b49022719b2933e8429a05e3a35b8762f.zip |
Extend CLI tests
Diffstat (limited to 'gerbonara/tests/test_rs274x.py')
-rw-r--r-- | gerbonara/tests/test_rs274x.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gerbonara/tests/test_rs274x.py b/gerbonara/tests/test_rs274x.py index 0807bfd..2fb51d9 100644 --- a/gerbonara/tests/test_rs274x.py +++ b/gerbonara/tests/test_rs274x.py @@ -336,7 +336,7 @@ def test_rotation_center(reference, angle, center, tmpfile): tmp_gbr = tmpfile('Output gerber', '.gbr') f = GerberFile.open(reference) - f.rotate(math.radians(angle), center=center) + f.rotate(math.radians(angle), *center) f.save(tmp_gbr) # calculate circle center in SVG coordinates @@ -379,7 +379,7 @@ def test_combined(reference, angle, center, offset, tmpfile): tmp_gbr = tmpfile('Output gerber', '.gbr') f = GerberFile.open(reference) - f.rotate(math.radians(angle), center=center) + f.rotate(math.radians(angle), *center) f.offset(*offset) f.save(tmp_gbr, settings=FileSettings(unit=f.unit, number_format=(4,7))) |