fixes a bug in xenapi tests where a string should be int

Change-Id: I202fa5b20c78c02d1072bdae774d9f19e4044fe6
This commit is contained in:
Trey Morris 2012-06-20 18:02:47 -05:00
parent 60e13f62b6
commit 8de8537b62

View File

@ -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