summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrey Morris <treyemorris@gmail.com>2012-06-20 18:02:47 -0500
committerTrey Morris <treyemorris@gmail.com>2012-06-20 18:02:47 -0500
commit470ccb85f2ecaff38973854e209f0fabdb117dc0 (patch)
treed14a6a6700f86a5e1b43578be816dd677dc5351f
parentcf1854946838bf14607d05acd6f347702372b744 (diff)
downloadnova-470ccb85f2ecaff38973854e209f0fabdb117dc0.tar.gz
nova-470ccb85f2ecaff38973854e209f0fabdb117dc0.tar.xz
nova-470ccb85f2ecaff38973854e209f0fabdb117dc0.zip
fixes a bug in xenapi tests where a string should be int
Change-Id: I202fa5b20c78c02d1072bdae774d9f19e4044fe6
-rw-r--r--nova/tests/test_xensm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/tests/test_xensm.py b/nova/tests/test_xensm.py
index 639caf009..638a359fa 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