Skip to content

Commit 981272d

Browse files
committed
[skip changelog] CI test
1 parent 8e9af0b commit 981272d

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

Diff for: test/test_archive.py

+8-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
# a commercial license, send an email to [email protected].
1515
import zipfile
1616
import shutil
17-
import time
1817
from pathlib import Path
1918

2019
import pytest
@@ -26,12 +25,18 @@ def copy_sketch(working_dir):
2625
sketch_path = Path(__file__).parent / "testdata" / "sketch_simple"
2726
test_sketch_path = Path(working_dir) / "sketch_simple"
2827
shutil.copytree(sketch_path, test_sketch_path)
29-
while not Path(test_sketch_path).exists():
30-
time.sleep(1)
3128
yield str(test_sketch_path)
3229

3330

3431
def test_archive_no_args(run_command, copy_sketch, working_dir):
32+
result = run_command("echo %cd%", copy_sketch)
33+
print(result.stdout)
34+
print(result.stderr)
35+
36+
result = run_command("dir", copy_sketch)
37+
print(result.stdout)
38+
print(result.stderr)
39+
3540
result = run_command("archive", copy_sketch)
3641
print(result.stdout)
3742
print(result.stderr)

0 commit comments

Comments
 (0)