sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #02711
Re: [Question #134349]: setUp and tearDown per class not per test fixture
Question #134349 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/134349
RaiMan proposed the following answer:
the following "hack" should help:
def setup(self):
try:
self.already_done += 1
if self.already_done > 0: return
except:
self.already_done = 0
return
# your other code
def teardown(self)
if self.already_done > 0: return
# your other code
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.