sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #07737
Re: [Question #182678]: "assert exists" doesn't seem to work.
Question #182678 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/182678
Status: Open => Needs information
RaiMan requested more information:
There need not be any additional docs on assert, since it is Python
standard together with unit test.
How and where are you using that? Paste some code.
def test1(self):
assert exists("some-image.png")
should give an assertion exception if the image cannot be found.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.