Merge "Remove unnecessary setUp function in testcase"
This commit is contained in:
commit
4c6d434b3d
@ -40,9 +40,6 @@ LSCPU_NO_ONLINE = """# The following is the parsable format, which can be fed to
|
||||
|
||||
|
||||
class TestOSCapability(base.BaseTestCase):
|
||||
def setUp(self):
|
||||
super(TestOSCapability, self).setUp()
|
||||
|
||||
@mock.patch('oslo_concurrency.processutils.execute')
|
||||
def test_get_cpu_numa_info_with_online(self, mock_output):
|
||||
mock_output.return_value = LSCPU_ON
|
||||
|
@ -16,9 +16,6 @@ from zun.tests import base
|
||||
|
||||
|
||||
class TestNUMA(base.BaseTestCase):
|
||||
def setUp(self):
|
||||
super(TestNUMA, self).setUp()
|
||||
|
||||
def test_free_cpus_numa(self):
|
||||
obj = objects.NUMATopology(cells=[
|
||||
objects.NUMANode(
|
||||
|
Loading…
x
Reference in New Issue
Block a user