sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #33260
Re: [Question #268299]: UnitTest stop a whole test suite
Question #268299 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/268299
Linda posted a new comment:
setupmodule seems to be introduced in python 2.7, is Sikuli supporting
that? because I can't seem to get the setUpModule to work, or maybe I am
doing it wrong.
def setUpModule():
assert False
class InstallAndLaunch(unittest.TestCase):
def test1_myscriptA(self):
import myscriptA
class Login(unittest.TestCase):
def test1_myscriptB(self):
import myscriptB
---------------------------------------------------------------
Running this in a suite, the tests in the classes are still executed. I
would have assumed them not to be.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.