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 bd4b0b18d0
commit e833796b28

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