← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #193047]: assertNotExists does not work in unit test --- no longer available with Sikuli X

 

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

Summary changed to:
assertNotExists does not work in unit test --- no longer available with Sikuli X

Description changed to:
use
assert not exists()

instead
-----------------------------------

Sorry to ask may be some of the silly questions.

i am looking at the unit test sample application for jedit which
included with Sikuli. i am not able to use some of the assert used in
jedit and gets error. For example the following.

self.assertNotExist("LoginDlg.png")
AttributeError: 'MyTest1' object has no attribute 'assertNotExist'

Most of the assert in jedit unit test does not work with my unittest
script.

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