From 38dfc20744e12d8e8343eb35961ac194ca5d0c58 Mon Sep 17 00:00:00 2001 From: asteroide Date: Wed, 16 Dec 2015 16:17:57 +0100 Subject: Fix a bug in test. Change-Id: I3def005a8b627fefbf0da7445631610940369d46 --- .../moonclient/tests/tests_external_commands.json | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/moonclient/moonclient/tests/tests_external_commands.json b/moonclient/moonclient/tests/tests_external_commands.json index b01fde26..bfb7ac1a 100644 --- a/moonclient/moonclient/tests/tests_external_commands.json +++ b/moonclient/moonclient/tests/tests_external_commands.json @@ -66,6 +66,20 @@ "description": "Check that authz ie has been correctly added for tenant demo ", "command_options": "-c name -c intra_authz_extension_id -f value" }, + { + "name": "select_authz_ie", + "command": "intraextension select $uuid_authz", + "result": "Select $uuid_authz IntraExtension.", + "description": "Select the authz IntraExtension", + "command_options": "" + }, + { + "name": "check_select_authz_ie", + "command": "intraextension show selected", + "result": "$uuid_authz", + "description": "Check the selected authz IntraExtension", + "command_options": "-c id -f value" + }, { "name": "set_tenant_admin", "command": "tenant set --admin $uuid_admin $uuid", @@ -81,6 +95,28 @@ "command_options": "-c name -c intra_admin_extension_id -f value" }, + { + "name": "get aggregation algorithm", + "command": "aggregation algorithm list", + "result": "(?P\\w+)\\s+one_true", + "description": "Get aggregation algorithm.", + "command_options": "-c id -c name -f value" + }, + { + "name": "set aggregation algorithm", + "command": "aggregation algorithm set $uuid_aggregation", + "result": "", + "description": "Set aggregation algorithm to one_true.", + "command_options": "" + }, + { + "name": "get aggregation algorithm", + "command": "aggregation algorithm show", + "result": "$uuid_aggregation\\s+one_true", + "description": "Check aggregation algorithm.", + "command_options": "-c id -c name -f value" + }, + { "name": "check nova command", "external_command": "nova list", -- cgit 1.2.3-korg