Commit fb3f3de7e17ba0a9d78d2dc5b631ee0a2c478e74

Authored by mykhaly
1 parent 9c873978

Rename suite variable `@{used_roles}` into `@{USED_ROLES}`

... ... @@ -6,7 +6,7 @@ Suite Teardown Test Suite Teardown
6 6
7 7
8 8 *** Variables ***
9   -@{used_roles} viewer
  9 +@{USED_ROLES} viewer
10 10
11 11
12 12 *** Test Cases ***
... ...
... ... @@ -5,7 +5,7 @@ Suite Setup Test Suite Setup
5 5 Suite Teardown Test Suite Teardown
6 6
7 7 *** Variables ***
8   -@{used_roles} tender_owner viewer
  8 +@{USED_ROLES} tender_owner viewer
9 9
10 10
11 11 *** Test Cases ***
... ...
... ... @@ -5,7 +5,7 @@ Suite Teardown Test Suite Teardown
5 5
6 6 *** Variables ***
7 7 ${MODE} belowThreshold
8   -@{used_roles} tender_owner provider provider1 viewer
  8 +@{USED_ROLES} tender_owner provider provider1 viewer
9 9
10 10 ${number_of_items} ${1}
11 11 ${number_of_lots} ${1}
... ...
... ... @@ -5,7 +5,7 @@ Suite Setup Test Suite Setup
5 5 Suite Teardown Test Suite Teardown
6 6
7 7 *** Variables ***
8   -@{used_roles} tender_owner viewer
  8 +@{USED_ROLES} tender_owner viewer
9 9
10 10
11 11 *** Test Cases ***
... ...
... ... @@ -64,7 +64,7 @@ Set Suite Variable With Default Value
64 64 Log ${role}
65 65 # Suite variable; should be present in every test suite
66 66 # in `*** Variables ***` section
67   - Log Many @{used_roles}
  67 + Log Many @{USED_ROLES}
68 68
69 69 # Load brokers data
70 70 ${file_path}= Get Variable Value ${BROKERS_FILE} brokers.yaml
... ... @@ -83,7 +83,7 @@ Set Suite Variable With Default Value
83 83 ${used_users}= Create List
84 84
85 85 # Handle `-v role:something`
86   - Run Keyword Unless '${role}' in @{used_roles}
  86 + Run Keyword Unless '${role}' in @{USED_ROLES}
87 87 ... Log
88 88 ... Role ${role} is not used in this test suite.
89 89 ... WARN
... ... @@ -96,13 +96,13 @@ Set Suite Variable With Default Value
96 96 # fill `used_brokers`.
97 97 #
98 98 # Don't even ask how this works!
99   - :FOR ${tmp_role} IN @{used_roles}
  99 + :FOR ${tmp_role} IN @{USED_ROLES}
100 100 \ Set Suite Variable With Default Value
101 101 \ ... ${tmp_role}
102 102 \ ... ${BROKERS['Quinta'].roles.${tmp_role}}
103 103 \ Append To List ${used_users} ${${tmp_role}}
104 104 \ Append To List ${used_brokers} ${USERS.users.${${tmp_role}}.broker}
105   - # Since `@{used_roles}` is already a suite variable,
  105 + # Since `@{USED_ROLES}` is already a suite variable,
106 106 # let's make `@{used_brokers}` alike.
107 107 ${used_brokers}= Remove Duplicates ${used_brokers}
108 108 Set Suite Variable ${used_brokers}
... ... @@ -283,7 +283,7 @@ Get Broker Property By Username
283 283 [Arguments] ${tender_data}
284 284 # munchify is used to make deep copy of ${tender_data}
285 285 ${adapted_data}= munchify ${tender_data}
286   - :FOR ${username} IN @{used_roles}
  286 + :FOR ${username} IN @{USED_ROLES}
287 287 # munchify is used to make deep copy of ${adapted_data}
288 288 \ ${adapted_data_copy}= munchify ${adapted_data}
289 289 \ ${status} ${adapted_data_from_broker}= Run keyword and ignore error Run As ${${username}} Підготувати дані для оголошення тендера ${adapted_data_copy} ${username}
... ...
... ... @@ -6,7 +6,7 @@ Suite Teardown Test Suite Teardown
6 6
7 7 *** Variables ***
8 8 ${MODE} negotiation.quick
9   -@{used_roles} tender_owner viewer
  9 +@{USED_ROLES} tender_owner viewer
10 10
11 11 ${number_of_items} ${2}
12 12 ${number_of_lots} ${0}
... ...
... ... @@ -6,7 +6,7 @@ Suite Teardown Test Suite Teardown
6 6
7 7 *** Variables ***
8 8 ${MODE} negotiation
9   -@{used_roles} tender_owner viewer
  9 +@{USED_ROLES} tender_owner viewer
10 10
11 11 ${number_of_items} ${2}
12 12 ${number_of_lots} ${0}
... ...
... ... @@ -7,7 +7,7 @@ Suite Teardown Test Suite Teardown
7 7
8 8 *** Variables ***
9 9 ${MODE} openeu
10   -@{used_roles} tender_owner provider provider1 provider2 viewer
  10 +@{USED_ROLES} tender_owner provider provider1 provider2 viewer
11 11 ${dialogue_type} EU
12 12
13 13 ${number_of_items} ${1}
... ...
... ... @@ -4,7 +4,7 @@ Suite Setup Test Suite Setup
4 4 Suite Teardown Test Suite Teardown
5 5
6 6 *** Variables ***
7   -@{used_roles} tender_owner viewer provider
  7 +@{USED_ROLES} tender_owner viewer provider
8 8
9 9 ${award_index} ${0}
10 10
... ...
... ... @@ -6,7 +6,7 @@ Suite Teardown Test Suite Teardown
6 6
7 7 *** Variables ***
8 8 ${MODE} reporting
9   -@{used_roles} tender_owner viewer
  9 +@{USED_ROLES} tender_owner viewer
10 10
11 11 ${number_of_items} ${2}
12 12 ${number_of_lots} ${0}
... ...
Please register or login to post a comment