Skip to content

Commit fff663e

Browse files
committed
Remove NO_MOCK and NO_MOCK_REASON
1 parent e7b61ed commit fff663e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/unit/modules/test_boto3_elasticsearch.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# Import Salt Testing libs
1414
from tests.support.mixins import LoaderModuleMockMixin
1515
from tests.support.unit import skipIf, TestCase
16-
from tests.support.mock import (NO_MOCK, NO_MOCK_REASON, MagicMock, patch)
16+
from tests.support.mock import (MagicMock, patch)
1717

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

0 commit comments

Comments
 (0)