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: I56f3dd4296e2705efb317523617baca96730d420
This commit is contained in:
parent
fef8fea9fb
commit
c5464630c2
|
@ -34,8 +34,6 @@ class TestJob(commons.FreezerBaseTestCase):
|
|||
|
||||
|
||||
class TestInfoJob(TestJob):
|
||||
def setUp(self):
|
||||
super(TestInfoJob, self).setUp()
|
||||
|
||||
def test_execute_nothing_to_do(self):
|
||||
backup_opt = commons.BackupOpt1()
|
||||
|
|
Loading…
Reference in New Issue