diff --git a/test/units/modules/storage/netapp/test_na_ontap_cifs.py b/test/units/modules/storage/netapp/test_na_ontap_cifs.py index a555a74216..6bf228284c 100644 --- a/test/units/modules/storage/netapp/test_na_ontap_cifs.py +++ b/test/units/modules/storage/netapp/test_na_ontap_cifs.py @@ -17,7 +17,7 @@ from ansible.modules.storage.netapp.na_ontap_cifs \ import NetAppONTAPCifsShare as my_module # module under test if not netapp_utils.has_netapp_lib(): - pytestmark = pytest.skip('skipping as missing required netapp_lib') + pytestmark = pytest.mark.skip('skipping as missing required netapp_lib') def set_module_args(args): diff --git a/test/units/modules/storage/netapp/test_na_ontap_cifs_server.py b/test/units/modules/storage/netapp/test_na_ontap_cifs_server.py index 9b36caad1c..92173c33d3 100644 --- a/test/units/modules/storage/netapp/test_na_ontap_cifs_server.py +++ b/test/units/modules/storage/netapp/test_na_ontap_cifs_server.py @@ -17,7 +17,7 @@ from ansible.modules.storage.netapp.na_ontap_cifs_server \ import NetAppOntapcifsServer as my_module # module under test if not netapp_utils.has_netapp_lib(): - pytestmark = pytest.skip('skipping as missing required netapp_lib') + pytestmark = pytest.mark.skip('skipping as missing required netapp_lib') def set_module_args(args):