From 34ffd41831ee6b6e629a5f5c2e52c2729f00029d Mon Sep 17 00:00:00 2001 From: Michael J Fork Date: Tue, 15 Jan 2013 12:14:53 +0000 Subject: Correct misspelling of fake_service_get_all Correct the misspelling of fake_service_get_all from fake_servcie_get_all Change-Id: If8a7917fd5d63808375788858bd2100c3fab34b7 --- nova/tests/api/openstack/compute/contrib/test_services.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nova/tests/api/openstack/compute/contrib/test_services.py b/nova/tests/api/openstack/compute/contrib/test_services.py index 24f169d98..12c1ef2a4 100644 --- a/nova/tests/api/openstack/compute/contrib/test_services.py +++ b/nova/tests/api/openstack/compute/contrib/test_services.py @@ -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) -- cgit