Fix failing test modules due to incorrect use of pytest.skip() (#54282)

This commit is contained in:
Rigel Di Scala 2019-03-23 10:23:21 +01:00 committed by Matt Clay
parent 1e3428a766
commit 51f38b090e
2 changed files with 2 additions and 2 deletions

View file

@ -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):

View file

@ -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):