← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #156247]: How are exception handled when using imported scripts?

 

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

RaiMan posted a new comment:
I just tested to be sure:

Based on comment #2, if one of the functions called in Master.test_case
produce a FindFailed exception or any other exception, that is not
handled locally, your except branch should fire the print ("Test Case
FAILED").

One thing (might be clear already):
When testing in the IDE, you have to restart the IDE to run your master again, if you made any changes in the library functions. The IDE does not reset imports on rerun.

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