diff options
author | Jenkins <jenkins@review.openstack.org> | 2013-03-12 20:17:07 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2013-03-12 20:17:07 +0000 |
commit | c12f4bc0e37973e26c2109c7f85f505b776b5574 (patch) | |
tree | e0a4e478d51381f183c83e9e9b188e99e8a069f1 /tests/v1_1/test_shell.py | |
parent | f294635c16cbf56ee90647de4fb2a35c171174a1 (diff) | |
parent | 65b55d8f9b4ff7ccbd137e94087949a8c92c1de2 (diff) | |
download | python-novaclient-c12f4bc0e37973e26c2109c7f85f505b776b5574.tar.gz |
Merge "Revert API changes in "Unify Manager._update behaviour""
Diffstat (limited to 'tests/v1_1/test_shell.py')
-rw-r--r-- | tests/v1_1/test_shell.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/v1_1/test_shell.py b/tests/v1_1/test_shell.py index fd028b38..8cc5c19f 100644 --- a/tests/v1_1/test_shell.py +++ b/tests/v1_1/test_shell.py @@ -906,18 +906,18 @@ class ShellTest(utils.TestCase): def test_host_update_status(self): self.run_command('host-update sample-host_1 --status enabled') - body = {'host': {'status': 'enabled'}} + body = {'status': 'enabled'} self.assert_called('PUT', '/os-hosts/sample-host_1', body) def test_host_update_maintenance(self): self.run_command('host-update sample-host_2 --maintenance enable') - body = {'host': {'maintenance_mode': 'enable'}} + body = {'maintenance_mode': 'enable'} self.assert_called('PUT', '/os-hosts/sample-host_2', body) def test_host_update_multiple_settings(self): self.run_command('host-update sample-host_3 ' '--status disabled --maintenance enable') - body = {'host': {'status': 'disabled', 'maintenance_mode': 'enable'}} + body = {'status': 'disabled', 'maintenance_mode': 'enable'} self.assert_called('PUT', '/os-hosts/sample-host_3', body) def test_host_startup(self): |