summaryrefslogtreecommitdiffstats
path: root/nova
diff options
context:
space:
mode:
authorRenuka Apte <renuka.apte@citrix.com>2012-06-20 16:47:19 -0700
committerRenuka Apte <renuka.apte@citrix.com>2012-06-20 16:50:05 -0700
commitc9b88b8c50ca9dd13bef6206cfc004c9b23d24b6 (patch)
treeff5f18bc6768782d553d83a48a0adf76ad2193bc /nova
parent470ccb85f2ecaff38973854e209f0fabdb117dc0 (diff)
downloadnova-c9b88b8c50ca9dd13bef6206cfc004c9b23d24b6.tar.gz
nova-c9b88b8c50ca9dd13bef6206cfc004c9b23d24b6.tar.xz
nova-c9b88b8c50ca9dd13bef6206cfc004c9b23d24b6.zip
xenapi tests: changes size='0' to size=0
This could potentially cause a memory leak. Change-Id: I46f0bc34598a9927767820b3616ced3b527a259f
Diffstat (limited to 'nova')
-rw-r--r--nova/tests/test_xenapi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/tests/test_xenapi.py b/nova/tests/test_xenapi.py
index 4f94dd6fd..1fd35cd0e 100644
--- a/nova/tests/test_xenapi.py
+++ b/nova/tests/test_xenapi.py
@@ -109,7 +109,7 @@ class XenAPIVolumeTestCase(test.TestCase):
'os_type': 'linux',
'architecture': 'x86-64'}
- def _create_volume(self, size='0'):
+ def _create_volume(self, size=0):
"""Create a volume object."""
vol = {}
vol['size'] = size