File tree 1 file changed +2
-5
lines changed
python/services/dataservice/dmod/test
1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -42,11 +42,7 @@ def source_test_env_file(cls):
42
42
explicit_on = os .environ .get ("DERIVE_UTIL_IT_ON" , "false" ).strip ().lower () == "true"
43
43
reason_str = (f"IntegrationTestDataDeriveUtil tests skipped locally; you can activate by setting 'DERIVE_UTIL_IT_ON' "
44
44
f"to 'true' in your project '{ TestBase ._TEST_ENV_FILE_BASENAME } ' file." )
45
- try :
46
- import pytest
47
- skip_unless_explicit = pytest .mark .skipif (not explicit_on , reason = reason_str )
48
- except ImportError as e :
49
- skip_unless_explicit = unittest .skipUnless (explicit_on , reason = reason_str )
45
+ skip_unless_explicit = unittest .skipUnless (explicit_on , reason = reason_str )
50
46
51
47
52
48
@skip_unless_explicit
@@ -166,6 +162,7 @@ def tearDown(self):
166
162
continue
167
163
ds .manager .delete (dataset = ds )
168
164
165
+ @skip_unless_explicit
169
166
def test__generate_bmi_ds_1_a (self ):
170
167
""" Test to see if auto-generation of BMI config dataset will work as expected in object store dataset. """
171
168
ds_name = self .test_1_bmi_ds_name
You can’t perform that action at this time.
0 commit comments