fixes a bug in xenapi tests where a string should be int
Change-Id: I202fa5b20c78c02d1072bdae774d9f19e4044fe6
This commit is contained in:
parent
60e13f62b6
commit
8de8537b62
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user