diff --git a/ceilometer/tests/unit/compute/pollsters/test_cpu.py b/ceilometer/tests/unit/compute/pollsters/test_cpu.py index ebd2566333..ebd577f9a4 100644 --- a/ceilometer/tests/unit/compute/pollsters/test_cpu.py +++ b/ceilometer/tests/unit/compute/pollsters/test_cpu.py @@ -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(( diff --git a/ceilometer/tests/unit/compute/pollsters/test_memory.py b/ceilometer/tests/unit/compute/pollsters/test_memory.py index ec31ec1397..63b8ae51bd 100644 --- a/ceilometer/tests/unit/compute/pollsters/test_memory.py +++ b/ceilometer/tests/unit/compute/pollsters/test_memory.py @@ -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((