Skip to content

Commit

Permalink
Remove NO_MOCK and NO_MOCK_REASON
Browse files Browse the repository at this point in the history
  • Loading branch information
github-abcde committed Dec 31, 2019
1 parent e7b61ed commit fff663e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/unit/modules/test_boto3_elasticsearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# Import Salt Testing libs
from tests.support.mixins import LoaderModuleMockMixin
from tests.support.unit import skipIf, TestCase
from tests.support.mock import (NO_MOCK, NO_MOCK_REASON, MagicMock, patch)
from tests.support.mock import (MagicMock, patch)

# Import Salt libs
import salt.loader
Expand Down Expand Up @@ -136,7 +136,6 @@ def __virtual__():
@skipIf(HAS_BOTO3 is False, 'The boto module must be installed.')
@skipIf(LooseVersion(boto3.__version__) < LooseVersion(REQUIRED_BOTO3_VERSION),
'The boto3 module must be greater or equal to version {}'.format(REQUIRED_BOTO3_VERSION))
@skipIf(NO_MOCK, NO_MOCK_REASON)
class Boto3ElasticsearchTestCase(TestCase, LoaderModuleMockMixin):
'''
TestCase for salt.modules.boto3_elasticsearch module
Expand Down

0 comments on commit fff663e

Please sign in to comment.