From f305f070f9ce9f6bdc3e23b42087b580b54cab0c Mon Sep 17 00:00:00 2001 From: XieYingYun Date: Thu, 30 Mar 2017 16:46:59 +0800 Subject: [PATCH] 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: I3fc25630f23537f20019a6b74114c571c32280ad --- karbor/tests/unit/protection/test_checkpoint.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/karbor/tests/unit/protection/test_checkpoint.py b/karbor/tests/unit/protection/test_checkpoint.py index d93b9d0e..fea8ee02 100644 --- a/karbor/tests/unit/protection/test_checkpoint.py +++ b/karbor/tests/unit/protection/test_checkpoint.py @@ -36,9 +36,6 @@ resource_map = { class CheckpointTest(base.TestCase): - def setUp(self): - super(CheckpointTest, self).setUp() - def test_create_in_section(self): bank = bank_plugin.Bank(_InMemoryBankPlugin()) bank_lease = _InMemoryLeasePlugin()