@@ -34,18 +34,6 @@ def test_singularity_iwdr():
34
34
assert result_code != 0
35
35
36
36
@needs_singularity
37
- def test_singularity_pullfolder_in_env ():
38
- os .environ ["SINGULARITY_PULLFOLDER" ] = str (os .getcwd ())
39
- os .environ ["SINGULARITY_CACHEDIR" ] = str (os .getcwd ())
40
- result_code = main (
41
- ['--singularity' , '--default-container' , 'debian' ,
42
- get_data ("tests/wf/iwdr-entry.cwl" ), "--message" , "hello" ])
43
- for env in ("SINGULARITY_PULLFOLDER" , "SINGULARITY_CACHEDIR" ):
44
- if env in os .environ :
45
- assert result_code == 0
46
- else :
47
- assert result_code != 0
48
- @needs_singularity
49
37
def test_singularity_incorrect_image_pull ():
50
38
result_code , _ , stderr = get_main_output (
51
39
['--singularity' , '--default-container' , 'non-existant-weird-image' ,
@@ -77,3 +65,15 @@ def test_singularity_pullfolder(tmp_path):
77
65
else :
78
66
assert result_code != 0
79
67
68
+ @needs_singularity
69
+ def test_singularity_pullfolder_in_env ():
70
+ os .environ ["SINGULARITY_PULLFOLDER" ] = str (os .getcwd ())
71
+ os .environ ["SINGULARITY_CACHEDIR" ] = str (os .getcwd ())
72
+ result_code = main (
73
+ ['--singularity' , '--default-container' , 'debian' ,
74
+ get_data ("tests/wf/iwdr-entry.cwl" ), "--message" , "hello" ])
75
+ for env in ("SINGULARITY_PULLFOLDER" , "SINGULARITY_CACHEDIR" ):
76
+ if env in os .environ :
77
+ assert result_code == 0
78
+ else :
79
+ assert result_code != 0
0 commit comments