Remove unnecessary setUp function in testcase

In testcase, setUp will be called automatically. This patch used to
remove setUp functions that do nothing. Besides, it will keep code clean.

Change-Id: I60e368dc066af30ce2e53bf7e4cc7bba69387cd8
This commit is contained in:
lingyongxu 2017-06-08 11:29:33 +08:00
parent f8c40a4588
commit 18449a2231

View File

@ -36,9 +36,6 @@ kd = imp.load_source('kolla_docker', kolla_docker_file)
class ModuleArgsTest(base.BaseTestCase): class ModuleArgsTest(base.BaseTestCase):
def setUp(self):
super(ModuleArgsTest, self).setUp()
def test_module_args(self): def test_module_args(self):
argument_spec = dict( argument_spec = dict(
common_options=dict(required=False, type='dict', default=dict()), common_options=dict(required=False, type='dict', default=dict()),