@@ -910,6 +910,7 @@ def test_static_checker() -> None:
910910 factory .make (get_data ("tests/checker_wf/broken-wf3.cwl" ))
911911
912912
913+ @needs_docker
913914def test_circular_dependency_checker () -> None :
914915 # check that the circular dependency checker raises exception when there is
915916 # circular dependency in the workflow.
@@ -1119,8 +1120,9 @@ def test_cid_file_dir(tmp_path: Path, factor: str) -> None:
11191120 stderr = re .sub (r"\s\s+" , " " , stderr )
11201121 assert "completed success" in stderr
11211122 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 } "
11241126
11251127
11261128@needs_docker
@@ -1179,7 +1181,8 @@ def test_cid_file_w_prefix(tmp_path: Path, factor: str) -> None:
11791181 error_code , stdout , stderr = get_main_output (commands )
11801182 finally :
11811183 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 )
11831186 stderr = re .sub (r"\s\s+" , " " , stderr )
11841187 assert "completed success" in stderr
11851188 assert error_code == 0
@@ -1449,6 +1452,7 @@ def test_no_compute_chcksum(tmp_path: Path, factor: str) -> None:
14491452 assert "checksum" not in stdout
14501453
14511454
1455+ @needs_docker
14521456@pytest .mark .parametrize ("factor" , test_factors )
14531457def test_bad_userspace_runtime (factor : str ) -> None :
14541458 test_file = "tests/wf/wc-tool.cwl"
0 commit comments