diff options
author | 2015-11-25 15:45:29 +0100 | |
---|---|---|
committer | 2015-11-25 15:45:29 +0100 | |
commit | 5a6c85a046dccc21752e4aa52670a5f22c231c18 (patch) | |
tree | f23b9da000a36f1f1c6bd6c39eab127b9750dd15 /moonclient/moonclient/tests/tests_objects.json | |
parent | f7cc5b52cac3361f68260aac1fecd20abfc7044b (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_objects.json')
-rw-r--r-- | moonclient/moonclient/tests/tests_objects.json | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/moonclient/moonclient/tests/tests_objects.json b/moonclient/moonclient/tests/tests_objects.json index c3a70f4e..10481d33 100644 --- a/moonclient/moonclient/tests/tests_objects.json +++ b/moonclient/moonclient/tests/tests_objects.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_object", "command": "object list", - "result": "(?!$uuid_object)", + "no_result": "$uuid_object", "description": "Check that nova_server_1 object 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_object", "command": "object list", - "result": "(?!$uuid_object)", + "no_result": "$uuid_object", "description": "Check that nova_server_1 object was deleted." }, { |