Commit 3a9cfd79068f97b8535230bc4607cf13f9291a27
1 parent
f1de2240
Add error descriptions for resource file loader
Showing
1 changed file
with
2 additions
and
2 deletions
... | ... | @@ -98,8 +98,8 @@ Get Broker Property By Username |
98 | 98 | Завантажуємо бібліотеку з реалізацією для майданчика ${keywords_file} |
99 | 99 | ${bundled_st}= Run Keyword And Return Status Import Resource ${CURDIR}/brokers/${keywords_file}.robot |
100 | 100 | ${external_st}= Run Keyword And Return Status Import Resource ${CURDIR}/../../src/robot_tests.broker.${keywords_file}/${keywords_file}.robot |
101 | - Should Be True ${bundled_st} or ${external_st} | |
102 | - Should Not Be True ${bundled_st} and ${external_st} | |
101 | + Run Keyword If ${bundled_st} == ${external_st} == ${False} Fail Resource file ${keywords_file}.robot not found | |
102 | + Run Keyword If ${bundled_st} == ${external_st} == ${True} Fail Resource file ${keywords_file}.robot found in both brokers/ and src/ | |
103 | 103 | |
104 | 104 | ################################################################################## |
105 | 105 | Дочекатись синхронізації з майданчиком | ... | ... |
Please
register
or
login
to post a comment