From bb4105da37268fe03fc097db0cc5b558f61f3bea Mon Sep 17 00:00:00 2001 From: Randall Burt Date: Mon, 14 Oct 2013 17:51:17 -0500 Subject: [PATCH] Fix regression in DBaaS tests Change-Id: I4855c3254b7267ce34f3450be0290a0ce362f6f5 --- contrib/rackspace/heat/tests/test_clouddatabase.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/rackspace/heat/tests/test_clouddatabase.py b/contrib/rackspace/heat/tests/test_clouddatabase.py index 61ecded23d..eb6c981995 100644 --- a/contrib/rackspace/heat/tests/test_clouddatabase.py +++ b/contrib/rackspace/heat/tests/test_clouddatabase.py @@ -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)