Removed unnecessary setUp() calls from unit tests
TrivialFix Change-Id: I4d4349f70f58b1bb464fcb9b7adf324991b73530
This commit is contained in:
parent
70290e3116
commit
c812f53629
|
@ -1450,9 +1450,6 @@ class TestCallbackRegistration(unit.BaseTestCase):
|
|||
|
||||
class CADFNotificationsDataTestCase(test_v3.RestfulTestCase):
|
||||
|
||||
def setUp(self):
|
||||
super(CADFNotificationsDataTestCase, self).setUp()
|
||||
|
||||
def test_receive_identityId_from_audit_notification(self):
|
||||
|
||||
observer = None
|
||||
|
|
|
@ -1356,9 +1356,6 @@ class UUIDAuthWithTrust(AuthWithTrust, AuthTest):
|
|||
super(UUIDAuthWithTrust, self).config_overrides()
|
||||
self.config_fixture.config(group='token', provider='uuid')
|
||||
|
||||
def setUp(self):
|
||||
super(UUIDAuthWithTrust, self).setUp()
|
||||
|
||||
|
||||
class FernetAuthWithTrust(AuthWithTrust, AuthTest):
|
||||
|
||||
|
|
|
@ -1686,9 +1686,6 @@ class VersionTests(SqlMigrateBase):
|
|||
class MigrationValidation(SqlMigrateBase, unit.TestCase):
|
||||
"""Test validation of database between database phases."""
|
||||
|
||||
def setUp(self):
|
||||
super(MigrationValidation, self).setUp()
|
||||
|
||||
def _set_db_sync_command_versions(self):
|
||||
self.expand(1)
|
||||
self.migrate(1)
|
||||
|
|
|
@ -421,9 +421,6 @@ class TestCredentialTrustScoped(test_v3.RestfulTestCase):
|
|||
class TestCredentialEc2(CredentialBaseTestCase):
|
||||
"""Test v3 credential compatibility with ec2tokens."""
|
||||
|
||||
def setUp(self):
|
||||
super(TestCredentialEc2, self).setUp()
|
||||
|
||||
def _validate_signature(self, access, secret):
|
||||
"""Test signature validation with the access/secret provided."""
|
||||
signer = ec2_utils.Ec2Signer(secret)
|
||||
|
|
|
@ -2856,9 +2856,6 @@ class FederatedUserTests(test_v3.RestfulTestCase, FederatedSetupMixin):
|
|||
methods = ['saml2', 'token']
|
||||
super(FederatedUserTests, self).auth_plugin_config_override(methods)
|
||||
|
||||
def setUp(self):
|
||||
super(FederatedUserTests, self).setUp()
|
||||
|
||||
def load_fixtures(self, fixtures):
|
||||
super(FederatedUserTests, self).load_fixtures(fixtures)
|
||||
self.load_federation_sample_data()
|
||||
|
|
|
@ -823,9 +823,6 @@ class ChangePasswordTestCase(test_v3.RestfulTestCase):
|
|||
|
||||
class UserSelfServiceChangingPasswordsTestCase(ChangePasswordTestCase):
|
||||
|
||||
def setUp(self):
|
||||
super(UserSelfServiceChangingPasswordsTestCase, self).setUp()
|
||||
|
||||
def _create_user_with_expired_password(self):
|
||||
expire_days = CONF.security_compliance.password_expires_days + 1
|
||||
time = (
|
||||
|
|
Loading…
Reference in New Issue