Unittest - unable to start the application from setup
**** setup function in class TestCase is named
setUp() # uppercase u
-------
In unittest unable to start the application from setup but same code works in tes1. Not sure what i am doing wrong. Here is the code snippet
dir = "c:/SikuliScrip
import os
fp = file(os.
import unittest
import HTMLTestRunner
reload(
class MyTest1(
def setup(self):
#aview = App(r'C:
wait(5)
def test1(self):
aview = App(r'C:
class MyTest2(
def test1(self):
assert False
suite = unittest.
suite.addTests(
runner = HTMLTestRunner.
runner.run(suite)
fp.close()
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: