Merge "Remove unnecessary setUp"

This commit is contained in:
Jenkins 2016-09-26 06:19:36 +00:00 committed by Gerrit Code Review
commit f3ed310c7a
5 changed files with 0 additions and 18 deletions

View File

@ -41,9 +41,6 @@ class MuranoTestsCore(testtools.TestCase, testtools.testcase.WithAttributes,
cfg.load_config()
cls._environments = []
def setUp(self):
super(MuranoTestsCore, self).setUp()
def tearDown(self):
super(MuranoTestsCore, self).tearDown()
self.purge_environments()

View File

@ -24,9 +24,6 @@ from murano.tests.unit import base
class TestEngineWorkers(base.MuranoTestCase):
def setUp(self):
super(TestEngineWorkers, self).setUp()
@mock.patch.object(config, 'parse_args')
@mock.patch.object(logging, 'setup')
@mock.patch('oslo_service.service.launch')

View File

@ -21,9 +21,6 @@ CONF = cfg.CONF
class PluginLoaderTest(base.MuranoTestCase):
def setUp(self):
super(PluginLoaderTest, self).setUp()
@mock.patch('stevedore.extension.Extension')
def test_load_extension(self, ext):
"""Test PluginLoader.load_extension.

View File

@ -17,9 +17,6 @@ from murano.tests.unit import base
class TestActionFinder(base.MuranoTestCase):
def setUp(self):
super(TestActionFinder, self).setUp()
def test_simple_root_level_search(self):
model = {
'?': {

View File

@ -32,9 +32,6 @@ ROOT_CLASS = 'io.murano.Object'
class TestNamespaceResolving(base.MuranoTestCase):
def setUp(self):
super(TestNamespaceResolving, self).setUp()
def test_fails_w_empty_name(self):
resolver = ns_resolver.NamespaceResolver({'=': 'com.example.murano'})
@ -95,9 +92,6 @@ class TestNamespaceResolving(base.MuranoTestCase):
class TestHelperFunctions(base.MuranoTestCase):
def setUp(self):
super(TestHelperFunctions, self).setUp()
def test_generate_id(self):
generated_id = helpers.generate_id()