summaryrefslogtreecommitdiffstats
path: root/moonclient/moonclient/tests/tests_root_intraextensions.json
blob: 339136d0d06f40887f6e5ba462291534a61d1cc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
  "command_options": "-f value",
  "tests_group": {
    "main": [

      {
        "name": "list_intraextension",
        "command": "intraextension list",
        "result": "(?P<uuid_root>\\w+)\\s+policy_root",
        "description": "Check the existence of the root intra extension",
        "command_options": "-c id -c name -f value"
      },

      {
        "name": "select root ie",
        "command": "intraextension select $uuid_root",
        "result": "Select $uuid_root IntraExtension.",
        "description": "Select the root intra extension to work with",
        "command_options": ""
      },
      {
        "name": "check_admin_user",
        "command": "subject list",
        "result": "admin",
        "description": "Check that admin user was added"
      },
      {
        "name": "check_submetarule",
        "command": "submetarule show",
        "result": "(?P<uuid_submetarule>\\w+)\\s+rbac_rule",
        "description": "Check that submetarule was added"
      },
      {
        "name": "check_rule",
        "command": "rule list $uuid_submetarule",
        "result": "root_role",
        "description": "Check that rules were added"
      }


    ]
  }
}