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:
parent
8eb71e9582
commit
6ab2307b56
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue