Remove nose usage from a bigip unit test (#48964)

This commit is contained in:
Tim Rupp 2018-11-20 15:49:29 -08:00 committed by GitHub
parent 9773a1f289
commit c1118389cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,11 +8,11 @@ __metaclass__ = type
import os
import json
import pytest
import sys
from nose.plugins.skip import SkipTest
if sys.version_info < (2, 7):
raise SkipTest("F5 Ansible modules require Python >= 2.7")
pytestmark = pytest.mark.skip("F5 Ansible modules require Python >= 2.7")
from ansible.module_utils.basic import AnsibleModule