Merge "Removed unnecessary setUp calls in tests"
This commit is contained in:
@@ -25,9 +25,6 @@ from watcher.tests import base
|
||||
@mock.patch.object(clients.OpenStackClients, 'cinder')
|
||||
class TestCinderHelper(base.TestCase):
|
||||
|
||||
def setUp(self):
|
||||
super(TestCinderHelper, self).setUp()
|
||||
|
||||
@staticmethod
|
||||
def fake_storage_node(**kwargs):
|
||||
node = mock.MagicMock()
|
||||
|
||||
@@ -45,9 +45,6 @@ class DummyManager(object):
|
||||
|
||||
class TestServiceHeartbeat(base.TestCase):
|
||||
|
||||
def setUp(self):
|
||||
super(TestServiceHeartbeat, self).setUp()
|
||||
|
||||
@mock.patch.object(objects.Service, 'list')
|
||||
@mock.patch.object(objects.Service, 'create')
|
||||
def test_send_beat_with_creating_service(self, mock_create,
|
||||
|
||||
Reference in New Issue
Block a user