← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #677960]: TypeError: 'NoneType' object is not callable - from HTML test runner

 

Question #677960 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/677960

Rares Pasca posted a new comment:
Forgot to add the code for main:

if __name__== "__main__":
        myClass.createFolder(HagercadConfig.HAGERCAD_TEST_REPORTS_FOLDER)
        unittest.TextTestRunner(verbosity = 2)
        output = open(HagercadConfig.HAGERCAD_HTML_REPORT_FILE,"w+")
        runner = HTMLTestRunner.HTMLTestRunner(stream=output, title=HagercadConfig.HAGERCAD_HTML_REPORT_TITLE, description=HagercadConfig.HAGERCAD_HTML_REPORT_DESCRIPTION,
                dirTestScreenshots=HagercadConfig.HAGERCAD_TEST_REPORTS_FOLDER)

        runner.run(HagercadTestSuites.TestSuiteFactory())

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.