← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #173976]: How do I call functions from test_ methods? (NameError: global name 'blah' not defined)

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
put the called functions to the end of the script.
(the test script is processed in reverse order - a bug).

BTW: import cannot be used in current Sikuli's IDE test feature.

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