summaryrefslogtreecommitdiffstats
path: root/moonclient/moonclient/tests/tests_action_categories.json
diff options
context:
space:
mode:
authorasteroide <thomas.duval@orange.com>2015-11-25 15:45:29 +0100
committerasteroide <thomas.duval@orange.com>2015-11-25 15:45:29 +0100
commit5a6c85a046dccc21752e4aa52670a5f22c231c18 (patch)
treef23b9da000a36f1f1c6bd6c39eab127b9750dd15 /moonclient/moonclient/tests/tests_action_categories.json
parentf7cc5b52cac3361f68260aac1fecd20abfc7044b (diff)
Add a "no_result" key in JSON test files because "(?!...)" regular expression doesn't work as expected.
Change-Id: I67a8b6a529b71bc7499ba68cb431403a63482c1c
Diffstat (limited to 'moonclient/moonclient/tests/tests_action_categories.json')
-rw-r--r--moonclient/moonclient/tests/tests_action_categories.json8
1 files changed, 4 insertions, 4 deletions
diff --git a/moonclient/moonclient/tests/tests_action_categories.json b/moonclient/moonclient/tests/tests_action_categories.json
index bf6a72ca..d7485704 100644
--- a/moonclient/moonclient/tests/tests_action_categories.json
+++ b/moonclient/moonclient/tests/tests_action_categories.json
@@ -5,7 +5,7 @@
{
"name": "list tenant",
"command": "tenant list",
- "result": "(?!alt_demo)",
+ "no_result": "alt_demo",
"description": "Check if tenant alt_demo is used."
},
{
@@ -78,7 +78,7 @@
{
"name": "list_action_category",
"command": "action category list",
- "result": "(?!$uuid_action_category)",
+ "no_result": "$uuid_action_category",
"description": "Check that my_new_action_category action_category was deleted."
},
{
@@ -100,7 +100,7 @@
{
"name": "list tenant",
"command": "tenant list",
- "result": "(?!alt_demo)",
+ "no_result": "alt_demo",
"description": "Check if tenant alt_demo is used."
},
{
@@ -207,7 +207,7 @@
{
"name": "list_action_category",
"command": "action category list",
- "result": "(?!$uuid_action_category)",
+ "no_result": "$uuid_action_category",
"description": "Check that my_new_action_category action_category was deleted."
},
{