diff --git a/tests/functional/test_mturk.py b/tests/functional/test_mturk.py index b30461b2f3..bd4e4267f6 100644 --- a/tests/functional/test_mturk.py +++ b/tests/functional/test_mturk.py @@ -23,7 +23,7 @@ def setUp(self): self.stubber.activate() def tearDown(self): - super().setUp() + super().tearDown() self.stubber.deactivate() def test_list_hits_aliased(self): diff --git a/tests/functional/test_sagemaker.py b/tests/functional/test_sagemaker.py index 354d8d2c7e..59a5d61434 100644 --- a/tests/functional/test_sagemaker.py +++ b/tests/functional/test_sagemaker.py @@ -15,6 +15,7 @@ def _hook(self, **kwargs): self.hook_calls.append(kwargs['event_name']) def tearDown(self): + super().tearDown() self.stubber.deactivate() def test_event_with_old_prefix(self): diff --git a/tests/unit/auth/test_signers.py b/tests/unit/auth/test_signers.py index bfb25e8cf0..880b6bbaaf 100644 --- a/tests/unit/auth/test_signers.py +++ b/tests/unit/auth/test_signers.py @@ -716,6 +716,7 @@ def setUp(self): def tearDown(self): self.time_patch.stop() + super().tearDown() def test_presign_with_query_string(self): self.request.url = ( @@ -808,6 +809,7 @@ def setUp(self): def tearDown(self): self.datetime_patcher.stop() + super().tearDown() def test_presign_no_params(self): request = AWSRequest() @@ -1044,6 +1046,7 @@ def setUp(self): def tearDown(self): self.time_patch.stop() + super().tearDown() def test_presign_post(self): self.auth.add_auth(self.request) @@ -1110,6 +1113,7 @@ def setUp(self): def tearDown(self): self.datetime_patcher.stop() + super().tearDown() def test_presign_post(self): self.auth.add_auth(self.request) diff --git a/tests/unit/test_configloader.py b/tests/unit/test_configloader.py index e8ef97d133..9f68815f5e 100644 --- a/tests/unit/test_configloader.py +++ b/tests/unit/test_configloader.py @@ -23,7 +23,7 @@ multi_file_load_config, raw_config_parse, ) -from tests import BaseEnvVar, mock, unittest +from tests import mock, unittest def path(filename): @@ -33,7 +33,7 @@ def path(filename): return os.path.join(directory, filename) -class TestConfigLoader(BaseEnvVar): +class TestConfigLoader(unittest.TestCase): def setUp(self): self.tempdir = tempfile.mkdtemp()