Skip to content

Commit 63a4d7d

Browse files
committed
fix: tests
1 parent fc9cf82 commit 63a4d7d

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

tests/test_package_toml.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def test_build_manager_failing_command():
2626
bpm = BuildPlanManager(args=Mock())
2727
with raises(Exception):
2828
bpm.execute(
29-
build_plan=[["sh", "/tmp", "NOTACOMMAND"]],
29+
build_plan=[[["sh", "/tmp", "NOTACOMMAND"]]],
3030
zip_stream=None,
3131
query=None,
3232
)

tests/test_zip_source.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@ def test_zip_source_path_sh_work_dir():
1212

1313
bpm.execute(
1414
build_plan=[
15-
["sh", ".", "cd $(mktemp -d)\n echo pip install"],
16-
["zip:embedded", ".", "./python"],
15+
[
16+
["sh", "cd $(mktemp -d)\n echo pip install"],
17+
["zip:embedded", ".", "./python"],
18+
]
1719
],
1820
zip_stream=zs,
1921
query=None,
@@ -33,8 +35,10 @@ def test_zip_source_path():
3335

3436
bpm.execute(
3537
build_plan=[
36-
["sh", ".", "echo pip install"],
37-
["zip:embedded", ".", "./python"],
38+
[
39+
["sh", "echo pip install"],
40+
["zip:embedded", ".", "./python"],
41+
]
3842
],
3943
zip_stream=zs,
4044
query=None,

0 commit comments

Comments
 (0)