diff --git a/magnum/tests/unit/api/controllers/v1/test_certificate.py b/magnum/tests/unit/api/controllers/v1/test_certificate.py index 42065f89d9..c69c699c51 100644 --- a/magnum/tests/unit/api/controllers/v1/test_certificate.py +++ b/magnum/tests/unit/api/controllers/v1/test_certificate.py @@ -185,9 +185,6 @@ class TestPost(api_base.FunctionalTest): class TestCertPolicyEnforcement(api_base.FunctionalTest): - def setUp(self): - super(TestCertPolicyEnforcement, self).setUp() - def _common_policy_check(self, rule, func, *arg, **kwarg): self.policy.set_rules({rule: "project_id:non_fake"}) response = func(*arg, **kwarg) diff --git a/magnum/tests/unit/api/controllers/v1/test_magnum_service.py b/magnum/tests/unit/api/controllers/v1/test_magnum_service.py index b949962019..d6ca6843ec 100644 --- a/magnum/tests/unit/api/controllers/v1/test_magnum_service.py +++ b/magnum/tests/unit/api/controllers/v1/test_magnum_service.py @@ -44,9 +44,6 @@ class db_rec(object): class TestMagnumServiceController(api_base.FunctionalTest): - def setUp(self): - super(TestMagnumServiceController, self).setUp() - def test_empty(self): response = self.get_json('/mservices') self.assertEqual([], response['mservices']) diff --git a/magnum/tests/unit/common/x509/test_validator.py b/magnum/tests/unit/common/x509/test_validator.py index fc54fc8c1b..9661890459 100644 --- a/magnum/tests/unit/common/x509/test_validator.py +++ b/magnum/tests/unit/common/x509/test_validator.py @@ -19,12 +19,6 @@ from magnum.common.x509 import validator as v class TestValidators(unittest.TestCase): - def setUp(self): - super(TestValidators, self).setUp() - - def tearDown(self): - super(TestValidators, self).tearDown() - def _build_key_usage(self, critical=False): # Digital Signature and Key Encipherment are enabled key_usage = c_x509.KeyUsage(