← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #152117]: unittest execution hanging when the image is not found

 

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

piravel posted a new comment:
Interesting : when I add a timetout for the assert exists, the script
ends correctly with the failed assertion.

I replaced the line :
assert (exists("image_which_does_not_exist.png"))

by the line :
assert (exists("image_which_does_not_exist.png", 5))

It looks like the exists function is searching for an infinite time unless limited with a timeout...
Is that the normal behavior ?

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