Merge "Remove unnecessary setUp and resource_setup"
This commit is contained in:
commit
e13cc1c4a1
@ -26,9 +26,6 @@ class SanityTestCase(base.BaseTestCase):
|
|||||||
where someone modifies the API without updating the check script.
|
where someone modifies the API without updating the check script.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
super(SanityTestCase, self).setUp()
|
|
||||||
|
|
||||||
def test_nova_notify_runs(self):
|
def test_nova_notify_runs(self):
|
||||||
checks.nova_notify_supported()
|
checks.nova_notify_supported()
|
||||||
|
|
||||||
|
@ -20,10 +20,6 @@ from neutron.tests.tempest.api import base
|
|||||||
|
|
||||||
class BaseSecGroupTest(base.BaseNetworkTest):
|
class BaseSecGroupTest(base.BaseNetworkTest):
|
||||||
|
|
||||||
@classmethod
|
|
||||||
def resource_setup(cls):
|
|
||||||
super(BaseSecGroupTest, cls).resource_setup()
|
|
||||||
|
|
||||||
def _create_security_group(self, **kwargs):
|
def _create_security_group(self, **kwargs):
|
||||||
# Create a security group
|
# Create a security group
|
||||||
name = data_utils.rand_name('secgroup-')
|
name = data_utils.rand_name('secgroup-')
|
||||||
|
Loading…
Reference in New Issue
Block a user