python 3.x - Python3 and Robot Framework b'SUCCESS' Error -


currently experimenting (or trying to) robot framework. i'm using python-3 , i've managed version of framework python 3.

pip install robotframework-python3 

i downloaded quickstart guide recommended on github page , had convert of python2 python 3. included minor changes, removing commas try/except , few brackets around prints. ran first test of tests wonderfully. when came running other tests command:

pybot quickstart.rst  

i had error in .html error logs produces:

expected status 'success' 'b'success''. 

this error common across of tests. understand it's related binary response (vague guess memory).

does know of solution?

n.b robot framework 2.8.7 (python 3.3.3 on darwin)

many thanks.

i did same thing , encountered issue. apart modifying sut/quickstart.rst, may need modify lib/loginlibrary.py append 1 more parameter, i.e. universal_newlines=true subprocess.popen(...) such treated string instead of byte sequence. quickstart.rst test cases pass :)

you may check reference https://docs.python.org/3/library/subprocess.html#subprocess.popen


Comments