Commit 6d912ba6dcb05698503bf2a25a6bafb3464205ed
1 parent
59107553
Rename suite variable `${role}` into `${ROLE}`
Showing
2 changed files
with
6 additions
and
6 deletions
... | ... | @@ -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`; | ... | ... |
Please
register
or
login
to post a comment