fixes a bug in xenapi tests where a string should be int
Change-Id: I202fa5b20c78c02d1072bdae774d9f19e4044fe6
This commit is contained in:
@@ -77,7 +77,7 @@ class XenSMTestCase(test.TestCase):
|
|||||||
beconf = db.sm_backend_conf_get(ctxt, beconf['id'])
|
beconf = db.sm_backend_conf_get(ctxt, beconf['id'])
|
||||||
self.assertIsInstance(beconf['sr_uuid'], basestring)
|
self.assertIsInstance(beconf['sr_uuid'], basestring)
|
||||||
|
|
||||||
def _create_volume(self, size='0'):
|
def _create_volume(self, size=0):
|
||||||
"""Create a volume object."""
|
"""Create a volume object."""
|
||||||
vol = {}
|
vol = {}
|
||||||
vol['size'] = size
|
vol['size'] = size
|
||||||
|
Reference in New Issue
Block a user