Commit 922b804c authored by Giorgos Verigakis's avatar Giorgos Verigakis
Browse files

Check for values inside servers

parent 26400f92
......@@ -159,7 +159,7 @@ class APITestCase(TestCase):
self.assertEqual(response.status_code, 202)
response = self.client.get('/api/v1.1/servers/detail?changes-since=%s' % then)
vms_from_api_after = json.loads(response.content)['servers']
vms_from_api_after = json.loads(response.content)['servers']['values']
#make sure the newly created server is included on the updated list
self.assertEqual(len(vms_from_api_after), 1)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment