commit | e5e318fe1d09d47d81df6941f195fa110082cf26 | [log] [tgz] |
---|---|---|
author | wingwj <wingwj@gmail.com> | Tue Oct 08 17:07:02 2013 +0800 |
committer | wingwj <wingwj@gmail.com> | Tue Oct 08 17:29:02 2013 +0800 |
tree | b76f73144a0d6c8d64280c954a880ccc5a178406 | |
parent | 308614d45a956df6e509651cfa23649d5f4747b8 [diff] |
Add some test_cases for compute-cli + test_agent_list + test_cell_list + test_host_list Change-Id: Ic99c3e137da688a97d39af4902c71ddddf34228e
diff --git a/tempest/cli/simple_read_only/test_compute.py b/tempest/cli/simple_read_only/test_compute.py index 9b358e6..94415f0 100644 --- a/tempest/cli/simple_read_only/test_compute.py +++ b/tempest/cli/simple_read_only/test_compute.py
@@ -167,6 +167,10 @@ def test_admin_net_list(self): self.nova('net-list') + def test_agent_list(self): + self.nova('agent-list') + self.nova('agent-list', flags='--debug') + # Optional arguments: def test_admin_version(self):
diff --git a/tempest/cli/simple_read_only/test_compute_manage.py b/tempest/cli/simple_read_only/test_compute_manage.py index 523c65f..9a33556 100644 --- a/tempest/cli/simple_read_only/test_compute_manage.py +++ b/tempest/cli/simple_read_only/test_compute_manage.py
@@ -81,3 +81,11 @@ def test_db_version(self): self.assertNotEqual("", self.nova_manage('db version')) + + def test_cell_list(self): + # make sure command doesn't error out + self.nova_manage('cell list') + + def test_host_list(self): + # make sure command doesn't error out + self.nova_manage('host list')