← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #192876]: How to get unittest2 in Sikuli X-1.0rc3

 

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

    Status: Solved => Open

Prem Nambiar is still having a problem:
Unpacked htmtestrunner2.zip file and changed the dir, the directory to
point to mine and ran the script in Sikuli IDE. Still i am getting the
following error when HTMLTestRunner 2 is imported. is it could be my
environment?

[error] Stopped
[error] An error occurs at line 7
[error] Error message: Traceback (most recent call last):
 File "C:\DOCUME~1\cnprem\LOCALS~1\Temp\sikuli-tmp6839745384574499389.py", line 7, in 
 import HTMLTestRunner2 as HTMLTestRunner
 File "C:\SikuliScripts\HTMLTestRunner2\HTMLTestRunner2.py", line 549, in 
 TestResult = unittest.TestResult
AttributeError: 'javapackage' object has no attribute 'TestResult'

Thanks

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