sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #09743
Re: [Question #192876]: How to get unittest2 in Sikuli X-1.0rc3
Question #192876 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/192876
Prem Nambiar posted a new comment:
When HTMLTestRunner2 is imported the sample script get the following error.
File "C:\SikuliScripts\HTMLTestRunner2\HTMLTestRunner2.py", line 554, in
TestResult = unittest.TestResult
NameError: name 'unittest' is not defined
Changed it unittest2.TestResult, then Sikuli IDE report the error,
AttributeError: 'javapackage' object has no attribute 'TestResult'
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.