← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #686849]: [2.0.1] HTMLTestRunner: stream.close(): AttributeError ( '_TestResult' object has no attribute 'isAborted' )

 

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

TestMechanic proposed the following answer:
He is the solution: in htmltestrunner.py locate the main class and add
"isAborted" method.

Here is an example:

class HTMLTestRunner(Template_mixin):
    """
    """
    def isAborted(self):
        return False
        
    def __init__(self, stream=sys.stdout, verbosity=1, title=None, description=None):

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