@@ -910,6 +910,7 @@ def test_static_checker() -> None:
910
910
factory .make (get_data ("tests/checker_wf/broken-wf3.cwl" ))
911
911
912
912
913
+ @needs_docker
913
914
def test_circular_dependency_checker () -> None :
914
915
# check that the circular dependency checker raises exception when there is
915
916
# circular dependency in the workflow.
@@ -1119,8 +1120,9 @@ def test_cid_file_dir(tmp_path: Path, factor: str) -> None:
1119
1120
stderr = re .sub (r"\s\s+" , " " , stderr )
1120
1121
assert "completed success" in stderr
1121
1122
assert error_code == 0
1122
- cidfiles_count = sum (1 for _ in tmp_path .glob ("**/*" ))
1123
- assert cidfiles_count == 2
1123
+ cidfiles = list (tmp_path .glob ("**/*.cid" ))
1124
+ cidfiles_count = len (cidfiles )
1125
+ assert cidfiles_count == 2 , f"Should be 2 cidfiles, but got { cidfiles } "
1124
1126
1125
1127
1126
1128
@needs_docker
@@ -1179,7 +1181,8 @@ def test_cid_file_w_prefix(tmp_path: Path, factor: str) -> None:
1179
1181
error_code , stdout , stderr = get_main_output (commands )
1180
1182
finally :
1181
1183
listing = tmp_path .iterdir ()
1182
- cidfiles_count = sum (1 for _ in tmp_path .glob ("**/pytestcid*" ))
1184
+ cidfiles = tmp_path .glob ("**/pytestcid*" )
1185
+ cidfiles_count = sum (1 for _ in cidfiles )
1183
1186
stderr = re .sub (r"\s\s+" , " " , stderr )
1184
1187
assert "completed success" in stderr
1185
1188
assert error_code == 0
@@ -1449,6 +1452,7 @@ def test_no_compute_chcksum(tmp_path: Path, factor: str) -> None:
1449
1452
assert "checksum" not in stdout
1450
1453
1451
1454
1455
+ @needs_docker
1452
1456
@pytest .mark .parametrize ("factor" , test_factors )
1453
1457
def test_bad_userspace_runtime (factor : str ) -> None :
1454
1458
test_file = "tests/wf/wc-tool.cwl"
0 commit comments