Merge "Remove useless code"

This commit is contained in:
Jenkins 2016-11-23 21:24:54 +00:00 committed by Gerrit Code Review
commit 3112be1fa8
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((