diff options
author | asteroide <thomas.duval@orange.com> | 2015-12-01 15:51:17 +0100 |
---|---|---|
committer | asteroide <thomas.duval@orange.com> | 2015-12-01 15:51:17 +0100 |
commit | 1ff4a4915738e7e1981034bb32fb4cfaad24474f (patch) | |
tree | 88bc9d1de1e70ae5d59ba527b5e82a54d751e8d3 /moonclient/moonclient/tests/tests_empty_policy_nova.json | |
parent | 0975e3186a8aa83e3496f4e6891c8d934bee3d5f (diff) |
Fix an issue when executing all tests at the same time.
Change-Id: I1215c6e005438f19f042a4296fcaf156ea7d0ffe
Diffstat (limited to 'moonclient/moonclient/tests/tests_empty_policy_nova.json')
-rw-r--r-- | moonclient/moonclient/tests/tests_empty_policy_nova.json | 32 |
1 files changed, 19 insertions, 13 deletions
diff --git a/moonclient/moonclient/tests/tests_empty_policy_nova.json b/moonclient/moonclient/tests/tests_empty_policy_nova.json index 63482212..fdab951f 100644 --- a/moonclient/moonclient/tests/tests_empty_policy_nova.json +++ b/moonclient/moonclient/tests/tests_empty_policy_nova.json @@ -3,6 +3,11 @@ "tests_group": { "authz": [ { + "auth_name": "admin", + "description": "Change user to admin (just in case...)" + }, + + { "name": "nova image-list", "external_command": "nova image-list", "result": "(?P<uuid_image>[\\w-]+)\\s+\\| cirros-0.3.4-x86_64-uec", @@ -45,6 +50,20 @@ "result": "(?P<uuid>\\w+)\\s+demo", "description": "Check that tenant demo has been correctly added" }, + + { + "name": "check nova command", + "external_command": "nova list", + "no_result": "test_moonclient", + "description": "Check that we cannot list nova servers due to the current rules" + }, + { + "name": "try to pause nova instance", + "external_command": "nova pause $uuid_server", + "result": "^$", + "description": "Pausing the server must be impossible due to the current rules" + }, + { "name": "create_intraextension_authz", "command": "intraextension add --policy_model policy_empty_authz empty_test", @@ -874,19 +893,6 @@ }, { - "name": "check nova command", - "external_command": "nova list", - "no_result": "test_moonclient", - "description": "Check that we cannot list nova servers due to the current rules" - }, - { - "name": "try to pause nova instance", - "external_command": "nova pause $uuid_server", - "result": "^$", - "description": "Pausing the server must be impossible due to the current rules" - }, - - { "name": "list tenant", "command": "tenant list", "result": "demo", |