@@ -25,9 +25,9 @@ def _check_no_et():
25
25
import os
26
26
from unittest .mock import patch
27
27
28
- et = os .getenv ("NO_NIPYPE_ET " ) is None
28
+ et = os .getenv ("NIPYPE_NO_ET " ) is None
29
29
30
- with patch .dict ("os.environ" , {"NO_NIPYPE_ET " : "1" }):
30
+ with patch .dict ("os.environ" , {"NIPYPE_NO_ET " : "1" }):
31
31
from nipype .interfaces .base import BaseInterface
32
32
33
33
ver_data = BaseInterface ._etelemetry_version_data
@@ -67,13 +67,13 @@ def test_no_et(tmp_path):
67
67
res = wf1 .run ()
68
68
assert next (iter (res .nodes )).result .outputs .out is True
69
69
70
- # MultiProc run - environment initialized with NO_NIPYPE_ET
70
+ # MultiProc run - environment initialized with NIPYPE_NO_ET
71
71
wf2 = pe .Workflow (name = "wf2" , base_dir = str (tmp_path ))
72
72
wf2 .add_nodes ([pe .Node (niu .Function (function = _check_no_et ), name = "n" )])
73
73
res = wf2 .run (plugin = "MultiProc" , plugin_args = {"n_procs" : 1 })
74
74
assert next (iter (res .nodes )).result .outputs .out is False
75
75
76
- # LegacyMultiProc run - environment initialized with NO_NIPYPE_ET
76
+ # LegacyMultiProc run - environment initialized with NIPYPE_NO_ET
77
77
wf3 = pe .Workflow (name = "wf3" , base_dir = str (tmp_path ))
78
78
wf3 .add_nodes ([pe .Node (niu .Function (function = _check_no_et ), name = "n" )])
79
79
res = wf3 .run (plugin = "LegacyMultiProc" , plugin_args = {"n_procs" : 1 })
@@ -93,7 +93,7 @@ def test_no_et(tmp_path):
93
93
res = wf4 .run (plugin = "MultiProc" , plugin_args = {"n_procs" : 1 })
94
94
assert next (iter (res .nodes )).result .outputs .out is True
95
95
96
- # LegacyMultiProc run - environment initialized with NO_NIPYPE_ET
96
+ # LegacyMultiProc run - environment initialized with NIPYPE_NO_ET
97
97
wf5 = pe .Workflow (name = "wf5" , base_dir = str (tmp_path ))
98
98
wf5 .add_nodes (
99
99
[
0 commit comments