← Back to team overview

sikuli-driver team mailing list archive

[Question #171215]: Not able to run Unit test

 

New question #171215 on Sikuli:
https://answers.launchpad.net/sikuli/+question/171215

Hi,
I have referred many bugs, but still not able to run the unit test .

def setUp(self):
	print "in setup"

def tearDown(self):
	print "in teardown"

def test(self):
	print "in test"
	return True

This is the script i tried to run.
I clicked run on unit test, a small window appears.
i clicked run button in that small window, but nothing processed
i pressed shift+alt+c

saw the following error message
Exception in thread "AWT-EventQueue-0" SyntaxError: ("mismatched input 'test' expecting COLON", ('', 6, 11, 'class unit test (junit.framework.TestCase):\n'))

Version (that am using is) : sikuli x-1.0rc3(r905)


 

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