summaryrefslogtreecommitdiffstats
path: root/moonclient/moonclient/tests/tests_empty_policy_swift.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_empty_policy_swift.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_empty_policy_swift.json')
-rw-r--r--moonclient/moonclient/tests/tests_empty_policy_swift.json8
1 files changed, 4 insertions, 4 deletions
diff --git a/moonclient/moonclient/tests/tests_empty_policy_swift.json b/moonclient/moonclient/tests/tests_empty_policy_swift.json
index e31e66c7..a1c197c4 100644
--- a/moonclient/moonclient/tests/tests_empty_policy_swift.json
+++ b/moonclient/moonclient/tests/tests_empty_policy_swift.json
@@ -5,7 +5,7 @@
{
"name": "swift list",
"external_command": "swift list",
- "result": "(?!moonclient_test)",
+ "no_result": "moonclient_test",
"description": "Check Swift command"
},
{
@@ -30,7 +30,7 @@
{
"name": "list tenant",
"command": "tenant list",
- "result": "(?!demo)",
+ "no_result": "demo",
"description": "Check if tenant demo is used."
},
{
@@ -877,7 +877,7 @@
{
"name": "swift list",
"external_command": "swift list",
- "result": "(?!moonclient_test)",
+ "no_result": "moonclient_test",
"description": "Check Swift command, it must be impossible due to current rules"
},
@@ -964,7 +964,7 @@
{
"name": "swift list",
"external_command": "swift list moonclient_test",
- "result": "(?!tmp/test.txt)",
+ "no_result": "tmp/test.txt",
"description": "Check that test file has not been uploaded."
},
{