From 40312880541c94d5a6424c7f48da51e3472ae5e1 Mon Sep 17 00:00:00 2001 From: XieYingYun Date: Thu, 30 Mar 2017 18:49:06 +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: Id7641bc116c26f8b11f4441524c5e2c0442362a8 --- manila/tests/db/test_api.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/manila/tests/db/test_api.py b/manila/tests/db/test_api.py index b0148dc416..4fb0c54039 100644 --- a/manila/tests/db/test_api.py +++ b/manila/tests/db/test_api.py @@ -24,9 +24,6 @@ from manila import test class DBInterfaceTestCase(test.TestCase): """Test cases for the DB Interface methods.""" - def setUp(self): - super(self.__class__, self).setUp() - def test_interface_methods(self): """Ensure that implementation methods match interfaces.