Having issue using Htmltestrunner and unittest in Sikuli IDE 1.1.3
I am getting this error message when I try to run test. I am pretty with using Sikuli and python for testing. I would appreciate the help. Here is my code. I commentedout some of the lines to see if it would run if I made some adjustments.
Here is the error message I'm getting:
[error] Error caused by: Traceback (most recent call last): File "C:\SikuliX\
Code Below:
import os
import sys
import time
import shutil
dir="C:\\SikuliX"
if not dir in sys.path: sys.path.
#from XMLTestRunner1 import *
#import xmlrunner
#reload(xmlrunner)
#from xmlrunner import *
import unittest
reload(unittest)
import utils
reload(utils)
#fp=file(
import HTMLTestRunner
reload(
Debug.on(0);
class Test(unittest.
def setUp(self):
if __name__ == '__main__':
unittest.
#suite= unittest.
#runner= HTMLTestRunner.
#runner.run(suite)
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: