Commit 6d912ba6dcb05698503bf2a25a6bafb3464205ed

Authored by mykhaly
1 parent 59107553

Rename suite variable `${role}` into `${ROLE}`

... ... @@ -61,7 +61,7 @@ Set Suite Variable With Default Value
61 61
62 62 Завантажуємо дані про користувачів і майданчики
63 63 Log ${BROKER}
64   - Log ${role}
  64 + Log ${ROLE}
65 65 # Suite variable; should be present in every test suite
66 66 # in `*** Variables ***` section
67 67 Log Many @{USED_ROLES}
... ... @@ -83,13 +83,13 @@ 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   - ... Role ${role} is not used in this test suite.
  88 + ... Role ${ROLE} is not used in this test suite.
89 89 ... WARN
90 90 Set Suite Variable With Default Value
91   - ... ${role}
92   - ... ${BROKERS['${BROKER}'].roles.${role}}
  91 + ... ${ROLE}
  92 + ... ${BROKERS['${BROKER}'].roles.${ROLE}}
93 93
94 94 # Set default value for each role if it is not set yet;
95 95 # fill `used_users`;
... ...
... ... @@ -2,4 +2,4 @@
2 2 ${API_HOST_URL} https://lb.api-sandbox.openprocurement.org
3 3 ${API_VERSION} 2.3
4 4 ${BROKER} Quinta
5   -${role} viewer
  5 +${ROLE} viewer
... ...
Please register or login to post a comment