Remove unnecessary setUp

setUp will be automatically called around each testcase,
so this is to remove setUp that doing nothing additional
than super to keep code clean.

Change-Id: Ib8403b3850c93183d7d4764b01b095a8024b772c
This commit is contained in:
LiuNanke 2016-09-25 15:34:01 +08:00
parent 8da1613edc
commit 0f1929fd40

View File

@ -19,10 +19,6 @@ from openstack_dashboard.test import helpers
class TestLicenseTab(helpers.APITestCase):
def setUp(self):
"""Set up the Form data."""
super(TestLicenseTab, self).setUp()
@mock.patch('muranodashboard.catalog.tabs.services')
def test_license(self, mock_services):
"""Check that a license is returned."""
@ -71,10 +67,6 @@ class TestLicenseTab(helpers.APITestCase):
class TestRequirementsTab(helpers.APITestCase):
def setUp(self):
"""Set up the Form data."""
super(TestRequirementsTab, self).setUp()
@mock.patch('muranodashboard.catalog.tabs.services')
def test_requirements(self, mock_services):
"""Check that requirements are returned."""