Commit bb2e433 1 parent b98ac7e commit bb2e433 Copy full SHA for bb2e433
File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -70,12 +70,12 @@ def test_environment_variables_override(self):
70
70
71
71
try :
72
72
with mock .patch .dict (os .environ , mock_env ):
73
- importlib .reload (nf_core .components .components_utils )
74
- assert nf_core .components .components_utils .NF_CORE_MODULES_NAME == mock_env ["NF_CORE_MODULES_NAME" ]
75
- assert nf_core .components .components_utils .NF_CORE_MODULES_REMOTE == mock_env ["NF_CORE_MODULES_REMOTE" ]
73
+ importlib .reload (nf_core .components .constants )
74
+ assert nf_core .components .constants .NF_CORE_MODULES_NAME == mock_env ["NF_CORE_MODULES_NAME" ]
75
+ assert nf_core .components .constants .NF_CORE_MODULES_REMOTE == mock_env ["NF_CORE_MODULES_REMOTE" ]
76
76
assert (
77
- nf_core .components .components_utils .NF_CORE_MODULES_DEFAULT_BRANCH
77
+ nf_core .components .constants .NF_CORE_MODULES_DEFAULT_BRANCH
78
78
== mock_env ["NF_CORE_MODULES_DEFAULT_BRANCH" ]
79
79
)
80
80
finally :
81
- importlib .reload (nf_core .components .components_utils )
81
+ importlib .reload (nf_core .components .constants )
You can’t perform that action at this time.
0 commit comments