diff options
author | Michael J Fork <mjfork@us.ibm.com> | 2013-01-15 12:14:53 +0000 |
---|---|---|
committer | Michael J Fork <mjfork@us.ibm.com> | 2013-01-15 12:14:53 +0000 |
commit | 34ffd41831ee6b6e629a5f5c2e52c2729f00029d (patch) | |
tree | a0639576ebffc7b8a4ecd8b261f000078628226a /nova/tests/api/openstack/compute/contrib/test_services.py | |
parent | 8fddd6ad445586dc2c59ace0b292ff9da7048561 (diff) | |
download | nova-34ffd41831ee6b6e629a5f5c2e52c2729f00029d.tar.gz nova-34ffd41831ee6b6e629a5f5c2e52c2729f00029d.tar.xz nova-34ffd41831ee6b6e629a5f5c2e52c2729f00029d.zip |
Correct misspelling of fake_service_get_all
Correct the misspelling of fake_service_get_all from
fake_servcie_get_all
Change-Id: If8a7917fd5d63808375788858bd2100c3fab34b7
Diffstat (limited to 'nova/tests/api/openstack/compute/contrib/test_services.py')
-rw-r--r-- | nova/tests/api/openstack/compute/contrib/test_services.py | 4 |
1 files 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) |