Merge "Remove useless code"
This commit is contained in:
commit
3112be1fa8
@ -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((
|
||||
|
@ -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((
|
||||
|
Loading…
Reference in New Issue
Block a user