From 56c899619f11caa69159623bd60d6cb5f047dc39 Mon Sep 17 00:00:00 2001 From: Valeriy Ponomaryov Date: Sun, 29 Jun 2014 10:11:31 +0300 Subject: [PATCH] Add CLI tests for share-server-list API Change-Id: If65c11b8db3bc038aca3b06e6bba2eb2d6a21c8a --- .../tempest/cli/simple_read_only/test_manila.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/contrib/tempest/tempest/cli/simple_read_only/test_manila.py b/contrib/tempest/tempest/cli/simple_read_only/test_manila.py index 76ac21e2e9..8501c215c6 100644 --- a/contrib/tempest/tempest/cli/simple_read_only/test_manila.py +++ b/contrib/tempest/tempest/cli/simple_read_only/test_manila.py @@ -83,6 +83,22 @@ class SimpleReadOnlyManilaClientTest(manilaclient.ClientTestBase): def test_manila_service_list_with_state_param(self): self.manila('service-list', params='--state state') + def test_manila_share_server_list(self): + self.manila('share-server-list') + + def test_manila_share_server_list_with_host_param(self): + self.manila('share-server-list', params='--host host') + + def test_manila_share_server_list_with_status_param(self): + self.manila('share-server-list', params='--status status') + + def test_manila_share_server_list_with_share_network_param(self): + self.manila('share-server-list', + params='--share-network share-network') + + def test_manila_share_server_list_with_project_id_param(self): + self.manila('share-server-list', params='--project-id project-id') + def test_manila_quota_class_show(self): """This CLI can accept and string as param.""" roles = self.parser.listing(self.manila('quota-class-show',