Remove useless code

Change-Id: If60d8ae8f6f15ccee58f2f28b9a4eebe74296ff8
This commit is contained in:
Mehdi Abaakouk 2016-11-17 08:26:13 +01:00
parent 9181d7494d
commit 6c656b7ab9
2 changed files with 0 additions and 18 deletions

View File

@ -26,9 +26,6 @@ from ceilometer.tests.unit.compute.pollsters import base
class TestCPUPollster(base.TestPollsterBase):
def setUp(self):
super(TestCPUPollster, self).setUp()
@mock.patch('ceilometer.pipeline.setup_pipeline', mock.MagicMock())
def test_get_samples(self):
next_value = iter((
@ -77,9 +74,6 @@ class TestCPUPollster(base.TestPollsterBase):
class TestCPUUtilPollster(base.TestPollsterBase):
def setUp(self):
super(TestCPUUtilPollster, self).setUp()
@mock.patch('ceilometer.pipeline.setup_pipeline', mock.MagicMock())
def test_get_samples(self):
next_value = iter((
@ -110,9 +104,6 @@ class TestCPUUtilPollster(base.TestPollsterBase):
class TestCPUL3CachePollster(base.TestPollsterBase):
def setUp(self):
super(TestCPUL3CachePollster, self).setUp()
@mock.patch('ceilometer.pipeline.setup_pipeline', mock.MagicMock())
def test_get_samples(self):
next_value = iter((

View File

@ -24,9 +24,6 @@ from ceilometer.tests.unit.compute.pollsters import base
class TestMemoryPollster(base.TestPollsterBase):
def setUp(self):
super(TestMemoryPollster, self).setUp()
@mock.patch('ceilometer.pipeline.setup_pipeline', mock.MagicMock())
def test_get_samples(self):
next_value = iter((
@ -88,9 +85,6 @@ class TestMemoryPollster(base.TestPollsterBase):
class TestResidentMemoryPollster(base.TestPollsterBase):
def setUp(self):
super(TestResidentMemoryPollster, self).setUp()
@mock.patch('ceilometer.pipeline.setup_pipeline', mock.MagicMock())
def test_get_samples(self):
next_value = iter((
@ -136,9 +130,6 @@ class TestResidentMemoryPollster(base.TestPollsterBase):
class TestMemoryBandwidthPollster(base.TestPollsterBase):
def setUp(self):
super(TestMemoryBandwidthPollster, self).setUp()
@mock.patch('ceilometer.pipeline.setup_pipeline', mock.MagicMock())
def test_get_samples(self):
next_value = iter((