I am getting this error 'module' object has no attribute 'TestCase'
This script runs perfectly when run inside the Sikuli IDE as a Unit Test.
When I run it from a bat file I get this error 'module' object has no attribute 'TestCase'.
this is my bat file
Sikuli-IDE.bat -r C:\sikuli\
=====
script
=====
from sikuli import *
import unittest
## ... define your tests ...
class TestSequenceFun
def setUp(self):
print "in setup"
popup("in setup")
def tearDown(self):
print "in tearDown"
popup("in teardown")
def test_aaa_
print "in test"
popup("in test_empty")
return True
######### end test defs #######
suite = unittest.
unittest.
======
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Steve Brown for more information if necessary.