summaryrefslogtreecommitdiff
path: root/troveclient/tests/test_v1_shell.py
diff options
context:
space:
mode:
Diffstat (limited to 'troveclient/tests/test_v1_shell.py')
-rw-r--r--troveclient/tests/test_v1_shell.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/troveclient/tests/test_v1_shell.py b/troveclient/tests/test_v1_shell.py
index 069b6ce..4de0e78 100644
--- a/troveclient/tests/test_v1_shell.py
+++ b/troveclient/tests/test_v1_shell.py
@@ -539,6 +539,10 @@ class ShellTest(utils.TestCase):
self.run_command_clusters('root-enable cls-1234')
self.assert_called_anytime('POST', '/clusters/cls-1234/root')
+ def test_root_disable_instance(self):
+ self.run_command('root-disable 1234')
+ self.assert_called_anytime('DELETE', '/instances/1234/root')
+
def test_root_show_instance(self):
self.run_command('root-show 1234')
self.assert_called('GET', '/instances/1234/root')