From c9b88b8c50ca9dd13bef6206cfc004c9b23d24b6 Mon Sep 17 00:00:00 2001 From: Renuka Apte Date: Wed, 20 Jun 2012 16:47:19 -0700 Subject: [PATCH] xenapi tests: changes size='0' to size=0 This could potentially cause a memory leak. Change-Id: I46f0bc34598a9927767820b3616ced3b527a259f --- nova/tests/test_xenapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nova/tests/test_xenapi.py b/nova/tests/test_xenapi.py index 4f94dd6fdb..1fd35cd0e9 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