summaryrefslogtreecommitdiffstats
path: root/nova/tests
diff options
context:
space:
mode:
authorIsaku Yamahata <yamahata@valinux.co.jp>2011-06-15 14:41:29 +0900
committerIsaku Yamahata <yamahata@valinux.co.jp>2011-06-15 14:41:29 +0900
commit06372798edf744ba28612e2bda688ba3b5f30bb3 (patch)
tree6bacd1a9e49affb20ac4572695b687954ee4af82 /nova/tests
parent4171160aa24d2e055da8b33c90c77c5b75c26fd9 (diff)
api/ec2: make the parameter parser an independent method
Following the review, make the parser of argument items an independent method for readability.
Diffstat (limited to 'nova/tests')
-rw-r--r--nova/tests/test_api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/tests/test_api.py b/nova/tests/test_api.py
index 7c0331eff..20b20fcbf 100644
--- a/nova/tests/test_api.py
+++ b/nova/tests/test_api.py
@@ -89,7 +89,7 @@ class FakeHttplibConnection(object):
class XmlConversionTestCase(test.TestCase):
"""Unit test api xml conversion"""
def test_number_conversion(self):
- conv = apirequest._try_convert
+ conv = ec2utils._try_convert
self.assertEqual(conv('None'), None)
self.assertEqual(conv('True'), True)
self.assertEqual(conv('False'), False)