← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #227109]: HTMLTestRunner with unittest

 

Question #227109 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/227109

    Status: Answered => Solved

Aravind confirmed that the question is solved:
I've done exactly the same thing you have illustrated(placing the
HTMLTestRunner module inside the Jython installation) but doesn't work.

I've tried running the scripts from Eclipse(by right-clicking the .py
file inside the sikuli folder and selecting Run-as Jython unittest) and
from outside via commandline as well. Both throws the same error message
"No module named HTMLTestRunner".

For me, there is a folder libs, (but not Lib) under the C:\Program Files\Sikuli X\.
I didn't get what you meant by "sys.path at runtime contains the location where Jython can find the HTMLTestRunner module"  in the above comment.


Anyway, placing the HTMLTestRunner under the .sikuli folder solved my issue. Thanks!

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.