You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that when using --variablefile variables.py with ;-separator that quotes don't work the same way they work with pybot. When using either "- or '-quotes (i.e. "variables.py;arg1;arg2" or 'variables.py;arg1;arg2') pabot crashes with AssertError.
I have a simple test.robot:
(robot)# cat test.robot
*** TEST CASES ***
test0001
Log To Console ${TEST1}
Log To Console ${TEST2}
Based on the errors seen it looks like pabot interprets variables with ;-separator as shell commands and doesn't seem to honour quotes as pybot does. Using double and single quotes combined seems to solve the problem but is most likely not the intended way.
The text was updated successfully, but these errors were encountered:
I noticed that when using --variablefile variables.py with ;-separator that quotes don't work the same way they work with pybot. When using either "- or '-quotes (i.e. "variables.py;arg1;arg2" or 'variables.py;arg1;arg2') pabot crashes with AssertError.
I have a simple test.robot:
variables.py
my environment:
When I run the test with pybot:
When I try to run the same thing with pabot:
However if I use both quotes everything passes and there's no assert:
Based on the errors seen it looks like pabot interprets variables with ;-separator as shell commands and doesn't seem to honour quotes as pybot does. Using double and single quotes combined seems to solve the problem but is most likely not the intended way.
The text was updated successfully, but these errors were encountered: