sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #11708
Re: [Question #203040]: ImportError: Errors in loading sikuli module: unittest
Question #203040 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/203040
Status: Open => Answered
RaiMan proposed the following answer:
There seems to be some name overlay with Sikuli.
So try this:
# from sikuli import * # not needed in Sikuli main scripts
import unittest
import HTMLTestRunner
And if you want o access something in unittest or HTMLTestRunner use qualification (which is already done in your script:
unittest.TestCase
HTMLTestRunner.HTMLTestRunner
...
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.