Correct misspelling of fake_service_get_all
Correct the misspelling of fake_service_get_all from fake_servcie_get_all Change-Id: If8a7917fd5d63808375788858bd2100c3fab34b7
This commit is contained in:
@@ -75,7 +75,7 @@ class FakeRequestWithHostService(object):
|
||||
GET = {"host": "host1", "service": "nova-compute"}
|
||||
|
||||
|
||||
def fake_servcie_get_all(context):
|
||||
def fake_service_get_all(context):
|
||||
return fake_services_list
|
||||
|
||||
|
||||
@@ -111,7 +111,7 @@ class ServicesTest(test.TestCase):
|
||||
def setUp(self):
|
||||
super(ServicesTest, self).setUp()
|
||||
|
||||
self.stubs.Set(db, "service_get_all", fake_servcie_get_all)
|
||||
self.stubs.Set(db, "service_get_all", fake_service_get_all)
|
||||
self.stubs.Set(timeutils, "utcnow", fake_utcnow)
|
||||
self.stubs.Set(db, "service_get_by_args",
|
||||
fake_service_get_by_host_binary)
|
||||
|
Reference in New Issue
Block a user