Fix test_rebuild_nonexistent_server
Bug 963248
error: NotFound => BadRequest
Change-Id: I4c645fa02154e25ea9b358231361c9a05e93ef9e
diff --git a/tempest/tests/compute/test_server_actions.py b/tempest/tests/compute/test_server_actions.py
index edcf42b..e0bb47b 100644
--- a/tempest/tests/compute/test_server_actions.py
+++ b/tempest/tests/compute/test_server_actions.py
@@ -185,16 +185,15 @@
raise exceptions.TimeoutException(message)
@attr(type='negative')
- def test_reboot_nonexistant_server_soft(self):
+ def test_reboot_nonexistent_server_soft(self):
"""
- Negative Test: The server reboot on non existant server should return
+ Negative Test: The server reboot on non existent server should return
an error
"""
self.assertRaises(exceptions.NotFound, self.client.reboot, 999, 'SOFT')
- @unittest.skip('Until bug 963248 is fixed.')
@attr(type='negative')
- def test_rebuild_nonexistant_server(self):
+ def test_rebuild_nonexistent_server(self):
"""
Negative test: The server rebuild for a non existing server should not
be allowed