Merge "Fix regression in DBaaS tests"

This commit is contained in:
Jenkins 2013-10-16 10:16:26 +00:00 committed by Gerrit Code Review
commit 4603a7ab5d

View File

@ -132,7 +132,7 @@ class CloudDBInstanceTest(HeatTestCase):
fakedbinstance = FakeDBInstance()
fake_client.create('Test',
flavor='1GB',
volume='30').AndReturn(fakedbinstance)
volume=30).AndReturn(fakedbinstance)
self.m.ReplayAll()
instance.handle_create()
expected_hostname = fakedbinstance.hostname
@ -166,7 +166,7 @@ class CloudDBInstanceTest(HeatTestCase):
fakedbinstance = FakeDBInstance()
fake_client.create('Test',
flavor='1GB',
volume='30').AndReturn(fakedbinstance)
volume=30).AndReturn(fakedbinstance)
self.m.ReplayAll()
instance.handle_create()
self.assertEqual(instance._resolve_attribute('invalid-attrib'), None)