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: I595421c6f71dd04c0abbfa5f94b9df88203e08ee
This commit is contained in:
XieYingYun 2017-03-30 19:04:24 +08:00 committed by Renat Akhmerov
parent 8eb71e9582
commit 6ab2307b56
2 changed files with 0 additions and 6 deletions

View File

@ -64,9 +64,6 @@ def fake_evaluate(_, context):
class JavaScriptEngineTest(base.EngineTestCase):
def setUp(self):
super(JavaScriptEngineTest, self).setUp()
@testtools.skip('It requires installed JS engine.')
def test_javascript_action(self):
wb_service.create_workbook_v2(WORKBOOK)

View File

@ -29,9 +29,6 @@ def _print_commands(cmds):
class CommandDispatcherTest(base.BaseTest):
def setUp(self):
super(CommandDispatcherTest, self).setUp()
def test_rearrange_commands(self):
no_wait = commands.RunTask(None, None, None, None)
fail = commands.FailWorkflow(None, None, None, None)