From e833796b28cebd18aac86445349cd408e73cb839 Mon Sep 17 00:00:00 2001 From: Trey Morris Date: Wed, 20 Jun 2012 18:02:47 -0500 Subject: [PATCH] fixes a bug in xenapi tests where a string should be int Change-Id: I202fa5b20c78c02d1072bdae774d9f19e4044fe6 --- nova/tests/test_xensm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nova/tests/test_xensm.py b/nova/tests/test_xensm.py index 639caf00..638a359f 100644 --- a/nova/tests/test_xensm.py +++ b/nova/tests/test_xensm.py @@ -77,7 +77,7 @@ class XenSMTestCase(test.TestCase): beconf = db.sm_backend_conf_get(ctxt, beconf['id']) self.assertIsInstance(beconf['sr_uuid'], basestring) - def _create_volume(self, size='0'): + def _create_volume(self, size=0): """Create a volume object.""" vol = {} vol['size'] = size