assert(function name)
Asked by
Sreelekshmi
In my function module having a function,
def Enable(obj1,obj2):
m=findBest(
m.getIndex(
print(
if m.getIndex()==0:
else:
In another module where class is defined I am importing this module and asserting the functions
import function module name
class Test(unittest.
def test01():
The assert always resulting as failed eventhough it is supposed to be passed.
Please note that for the functions using if exists(image) , assert is working as expected.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Sreelekshmi
- Solved:
- Last query:
- Last reply:
To post a message you must log in.