diff options
| author | Brian Lamar <brian.lamar@rackspace.com> | 2011-08-25 11:12:53 -0400 |
|---|---|---|
| committer | Brian Lamar <brian.lamar@rackspace.com> | 2011-08-25 11:12:53 -0400 |
| commit | 0e3986e71f4bbc848e81f18d6c3e6ad33ab3684c (patch) | |
| tree | 200196bf8653f9a72f2ba7f29c5ce25e2d6cbfce /nova | |
| parent | 6e14007c09a465374d1b50cd00549c1be6dc536c (diff) | |
Removed invalid test.
Diffstat (limited to 'nova')
| -rw-r--r-- | nova/tests/api/openstack/test_server_actions.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/nova/tests/api/openstack/test_server_actions.py b/nova/tests/api/openstack/test_server_actions.py index 6fb21fad3..b9ef41465 100644 --- a/nova/tests/api/openstack/test_server_actions.py +++ b/nova/tests/api/openstack/test_server_actions.py @@ -244,19 +244,6 @@ class ServerActionsTest(test.TestCase): res = req.get_response(fakes.wsgi_app()) self.assertEqual(res.status_int, 500) - def test_resized_server_has_correct_status(self): - req = self.webreq('/1', 'GET') - - def fake_migration_get(*args): - return {} - - self.stubs.Set(nova.db, 'migration_get_by_instance_and_status', - fake_migration_get) - res = req.get_response(fakes.wsgi_app()) - self.assertEqual(res.status_int, 200) - body = json.loads(res.body) - self.assertEqual(body['server']['status'], 'RESIZE-CONFIRM') - def test_confirm_resize_server(self): req = self.webreq('/1/action', 'POST', dict(confirmResize=None)) |
