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

    Status: Open => Answered

RaiMan proposed the following answer:
sorry, that is currently not possible this way with the built in
unittest feature of Sikuli, because the imported function names are only
known in the context of the def() with the import statement. all
functions have to be physically there on the first level of your script.

If you want to use imports, you have to implement the standard Python unittest 
classes yourself
(see http://docs.python.org/library/unittest.html#module-unittest)
which is actually used by Sikuli IDE unittest internally.

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to