sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #11313
[Question #201012]: Simply Unit Testing not working - or is it me?
New question #201012 on Sikuli:
https://answers.launchpad.net/sikuli/+question/201012
Okay,
So I know this issue has been beaten to death, I apologize for re-asking yet again.
Anyway, I have this exact script:
def setUp(self):
print "in Setup"
def tearDown(self):
print "in teardown"
def test_empty(self):
print "in test"
return True
I made sure, several times, to do all the indentation correctly, etc. So I believe they are correct.
I save the script, open the unit test dialogue, click the run button. The transparent box comes up, I wait about 60 seconds, nothing happens, so I Shift-Cmd-C out, and I have this exception:
"Exception in thread "AWT-EventQueue-0" SyntaxError: ("mismatched input 'one' expecting COLON", ('', 6, 11, 'class Last one (junit.framework.TestCase):\n'))"
I am obviously trying to do something more complicated than this, but if I can't even get this simple test to work I'm not sure I'll have any luck in the long run!
Thank you in advance.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.