mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-02 23:31:25 -07:00
Replace nose with pytest
This commit is contained in:
parent
26a677c2a9
commit
61e5d04a60
6 changed files with 21 additions and 15 deletions
|
@ -23,13 +23,13 @@ try:
|
|||
except:
|
||||
HAS_BOTO3 = False
|
||||
|
||||
from nose.plugins.skip import SkipTest
|
||||
import pytest
|
||||
|
||||
from units.compat import unittest
|
||||
from ansible.module_utils.ec2 import AWSRetry
|
||||
|
||||
if not HAS_BOTO3:
|
||||
raise SkipTest("test_aws.py requires the python modules 'boto3' and 'botocore'")
|
||||
pytestmark = pytest.mark.skip("test_aws.py requires the python modules 'boto3' and 'botocore'")
|
||||
|
||||
|
||||
class RetryTestCase(unittest.TestCase):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue