summaryrefslogtreecommitdiffstats
path: root/lenovo/thinkcloud
diff options
context:
space:
mode:
Diffstat (limited to 'lenovo/thinkcloud')
-rw-r--r--lenovo/thinkcloud/extensions/tests/test_extensions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lenovo/thinkcloud/extensions/tests/test_extensions.py b/lenovo/thinkcloud/extensions/tests/test_extensions.py
index 4bc64aad..a5a97b06 100644
--- a/lenovo/thinkcloud/extensions/tests/test_extensions.py
+++ b/lenovo/thinkcloud/extensions/tests/test_extensions.py
@@ -31,7 +31,7 @@ class TestExtensions(unittest.TestCase):
json_content = response.json()
self.assertEquals(status.HTTP_200_OK, response.status_code)
- self.assertEquals(4, len(json_content.keys()))
+ self.assertEquals(4, len(list(json_content.keys())))
self.assertEquals(cloud_owner, json_content["cloud-owner"])
self.assertEquals(cloud_region_id, json_content["cloud-region-id"])