Merge "Tests use setUp rather than init"
This commit is contained in:
commit
a7cf7eee32
@ -72,9 +72,6 @@ class TestProxyValue(object):
|
||||
|
||||
|
||||
class CacheRegionTest(tests.TestCase):
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(CacheRegionTest, self).__init__(*args, **kwargs)
|
||||
self.region = None
|
||||
|
||||
def setUp(self):
|
||||
super(CacheRegionTest, self).setUp()
|
||||
@ -226,9 +223,6 @@ class CacheRegionTest(tests.TestCase):
|
||||
|
||||
|
||||
class CacheNoopBackendTest(tests.TestCase):
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(CacheNoopBackendTest, self).__init__(*args, **kwargs)
|
||||
self.region = None
|
||||
|
||||
def setUp(self):
|
||||
super(CacheNoopBackendTest, self).setUp()
|
||||
|
@ -138,8 +138,8 @@ class EndpointFilterExtension(test_sql_upgrade.SqlMigrateBase):
|
||||
class FederationExtension(test_sql_upgrade.SqlMigrateBase):
|
||||
"""Test class for ensuring the Federation SQL."""
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(FederationExtension, self).__init__(*args, **kwargs)
|
||||
def setUp(self):
|
||||
super(FederationExtension, self).setUp()
|
||||
self.identity_provider = 'identity_provider'
|
||||
self.federation_protocol = 'federation_protocol'
|
||||
self.mapping = 'mapping'
|
||||
|
Loading…
Reference in New Issue
Block a user