volume_glance_metadata.create()
except Exception:
LOG.exception(_("Exception while creating table "
- "'volume_glance_metedata'"))
+ "'volume_glance_metadata'"))
meta.drop_all(tables=[volume_glance_metadata])
raise
GET = {"host": "host1", "service": "cinder-volume"}
-def fake_servcie_get_all(context):
+def fake_service_get_all(context):
return fake_services_list
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)