diff options
author | jaseg <git@jaseg.de> | 2022-06-21 15:34:14 +0200 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2022-06-21 15:34:14 +0200 |
commit | 0cf02e9c1d400fb15e7d1f8df4f5310c0095ba33 (patch) | |
tree | 21a5eb3415d8331e51cc57687d94dff3c61d2aa3 /gerbolyze/tests/test_integration.py | |
parent | e73b5771785c8e43872cef6cf661466a20603be4 (diff) | |
download | gerbolyze-0cf02e9c1d400fb15e7d1f8df4f5310c0095ba33.tar.gz gerbolyze-0cf02e9c1d400fb15e7d1f8df4f5310c0095ba33.tar.bz2 gerbolyze-0cf02e9c1d400fb15e7d1f8df4f5310c0095ba33.zip |
fix local testsv3.0.8
Diffstat (limited to 'gerbolyze/tests/test_integration.py')
-rw-r--r-- | gerbolyze/tests/test_integration.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gerbolyze/tests/test_integration.py b/gerbolyze/tests/test_integration.py index c930b87..7c3ac20 100644 --- a/gerbolyze/tests/test_integration.py +++ b/gerbolyze/tests/test_integration.py @@ -40,26 +40,26 @@ def run_command(*args): def test_template_round_trip(): with tempfile.NamedTemporaryFile(suffix='.svg') as out_svg,\ tempfile.TemporaryDirectory() as out_dir: - run_command('python', '-m', 'gerbolyze', 'empty-template', '--force', out_svg.name) - run_command('python', '-m', 'gerbolyze', 'convert', out_svg.name, out_dir) + run_command('python3', '-m', 'gerbolyze', 'empty-template', '--force', out_svg.name) + run_command('python3', '-m', 'gerbolyze', 'convert', out_svg.name, out_dir) def test_zip_write(): with tempfile.NamedTemporaryFile(suffix='.svg') as out_svg,\ tempfile.NamedTemporaryFile(suffix='.zip') as out_zip: - run_command('python', '-m', 'gerbolyze', 'empty-template', '--force', out_svg.name) - run_command('python', '-m', 'gerbolyze', 'convert', out_svg.name, out_zip.name) + run_command('python3', '-m', 'gerbolyze', 'empty-template', '--force', out_svg.name) + run_command('python3', '-m', 'gerbolyze', 'convert', out_svg.name, out_zip.name) @pytest.mark.parametrize('reference', REFERENCE_SVGS) def test_complex_conversion(reference): infile = reference_path(reference) with tempfile.NamedTemporaryFile(suffix='.zip') as out_zip: - run_command('python', '-m', 'gerbolyze', 'convert', infile, out_zip.name) - run_command('python', '-m', 'gerbolyze', 'convert', '--pattern-complete-tiles-only', '--use-apertures-for-patterns', infile, out_zip.name) + run_command('python3', '-m', 'gerbolyze', 'convert', infile, out_zip.name) + run_command('python3', '-m', 'gerbolyze', 'convert', '--pattern-complete-tiles-only', '--use-apertures-for-patterns', infile, out_zip.name) @pytest.mark.parametrize('reference', REFERENCE_GERBERS) def test_template(reference): with tempfile.NamedTemporaryFile(suffix='.zip') as out_svg: infile = reference_path(reference) - run_command('python', '-m', 'gerbolyze', 'template', '--top', '--force', infile, out_svg.name) - run_command('python', '-m', 'gerbolyze', 'template', '--bottom', '--force', '--vector', infile, out_svg.name) + run_command('python3', '-m', 'gerbolyze', 'template', '--top', '--force', infile, out_svg.name) + run_command('python3', '-m', 'gerbolyze', 'template', '--bottom', '--force', '--vector', infile, out_svg.name) |