summaryrefslogtreecommitdiffstats
path: root/moonclient/moonclient/tests/tests_subject_scopes.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_subject_scopes.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_subject_scopes.json')
-rw-r--r--moonclient/moonclient/tests/tests_subject_scopes.json8
1 files changed, 4 insertions, 4 deletions
diff --git a/moonclient/moonclient/tests/tests_subject_scopes.json b/moonclient/moonclient/tests/tests_subject_scopes.json
index c6f7f309..218038c7 100644
--- a/moonclient/moonclient/tests/tests_subject_scopes.json
+++ b/moonclient/moonclient/tests/tests_subject_scopes.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."
},
{
@@ -86,7 +86,7 @@
{
"name": "check_deleted_scope",
"command": "subject scope list $uuid_subject_category",
- "result": "(?!$uuid_subject_scope)",
+ "no_result": "$uuid_subject_scope",
"description": "Check deleted scope.",
"command_options": "-c id -f value"
},
@@ -109,7 +109,7 @@
{
"name": "list tenant",
"command": "tenant list",
- "result": "(?!alt_demo)",
+ "no_result": "alt_demo",
"description": "Check if tenant alt_demo is used."
},
{
@@ -224,7 +224,7 @@
{
"name": "check_deleted_scope",
"command": "subject scope list $uuid_subject_category",
- "result": "(?!$uuid_subject_scope)",
+ "no_result": "$uuid_subject_scope",
"description": "Check deleted scope.",
"command_options": "-c id -f value"
},