mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
Port some tests away from nose as examples (#33437)
We don't need to use both nose and pytest. Once we get rid of all uses of nose we can remove the extra dependency
This commit is contained in:
@@ -5,8 +5,7 @@ import unittest
|
||||
try:
|
||||
import ansible.modules.cloud.amazon.s3 as s3
|
||||
except ImportError:
|
||||
from nose.plugins.skip import SkipTest
|
||||
raise SkipTest("This test requires the s3 Python libraries")
|
||||
pytestmark = pytest.mark.skip("This test requires the s3 Python libraries")
|
||||
|
||||
from ansible.module_utils.six.moves.urllib.parse import urlparse
|
||||
|
||||
|
||||
Reference in New Issue
Block a user