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

cicero posted a new comment:
Hi Rayan,

I think that maybe this is a bug related to the sikuli not properly
updating the references to other scripts that you use inside the main
one (mainTest.sikuli).

For instance, if I open the Sikuli IDE with the files you used in your example 
and run the mainTest, there is no error message, though none of the tests in 
TestCaseA are actually executed.
However if I change the name of TestCaseA to TestCaseB and also change the 
creation of the suite object to "suite = 
unittest.TestLoader().loadTestsFromTestCase(TestCaseB)" and try to run the 
mainTest script I get the  following message: 

[error] Stopped
[error] An error occurs at line 4
[error] Error message: Traceback (most recent call last):
 File "C:\Users\cneves2\AppData\Local\Temp\sikuli-tmp971734853387593025.py", 
line 4, in 
 suite = unittest.TestLoader().loadTestsFromTestCase(TestCaseB)
NameError: name 'TestCaseB' is not defined

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to