Fake deprecated nova client properties
Mox doesn't like the new nova client python properties that
were recently added to handle deprecations; just fake them out.
UnknownMethodCallError: Method called is not a member of the object:
projectid
@@ -444,6 +444,8 @@ class APITestCase(TestCase):
# compatible to 2.0 anyway.
api_version = nova_api_versions.APIVersion('2.1')
nova_client.Client.api_version = api_version
+ nova_client.Client.projectid = 'fake_project'
+ nova_client.Client.tenant_id = 'fake_tenant'
self.novaclient = self.mox.CreateMock(nova_client.Client)
return self.novaclient
