← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #689581]: assert(function name)

 

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

Sreelekshmi gave more information on the question:
def Enable(obj1,obj2):
    m=findBest(obj1,obj2)
    m.getIndex(),m.getScore()

    print(m.getIndex(),m.getScore())
    if m.getIndex()==0:
        print("Button is Enabled")
        return True
    else:
        print("Button is not enabled.")
        return False


class Test(unittest.TestCase):
        def test01():
              assert(Enable(obj1,obj2))
assert always fail

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.