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