diff options
| author | William Wolf <throughnothing@gmail.com> | 2011-09-15 10:00:38 -0400 |
|---|---|---|
| committer | William Wolf <throughnothing@gmail.com> | 2011-09-15 10:00:38 -0400 |
| commit | bfa8075f659f6fe18eb2442f2ae0722d0fd1c2ff (patch) | |
| tree | f4ca3c8a9d1a295b80a166b64b7b1d21c4d4a500 /nova/tests | |
| parent | b7997e4f3257304229045d75e23749520630ed10 (diff) | |
added build_list to servers controllers and view builder and kept all old tests passing
Diffstat (limited to 'nova/tests')
| -rw-r--r-- | nova/tests/api/openstack/test_servers.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nova/tests/api/openstack/test_servers.py b/nova/tests/api/openstack/test_servers.py index ee7927c64..b269b3961 100644 --- a/nova/tests/api/openstack/test_servers.py +++ b/nova/tests/api/openstack/test_servers.py @@ -2393,10 +2393,12 @@ class ServersTest(test.TestCase): def test_get_all_server_details_v1_0(self): req = webob.Request.blank('/v1.0/servers/detail') res = req.get_response(fakes.wsgi_app()) + print res.body self.assertEqual(res.status_int, 200) res_dict = json.loads(res.body) for i, s in enumerate(res_dict['servers']): + print i, ' --:-- ', s self.assertEqual(s['id'], i) self.assertEqual(s['hostId'], '') self.assertEqual(s['name'], 'server%d' % i) |
