You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "*****", line 179, in <module>
unittest.main(testRunner=runner)
File "C:\Program Files\Python37\lib\unittest\main.py", line 101, in __init__
self.runTests()
File "C:\Program Files\Python37\lib\unittest\main.py", line 271, in runTests
self.result = testRunner.run(self.test)
File "C:\Program Files\Python37\lib\site-packages\HtmlTestRunner\runner.py", line 69, in run
self.stream.writeln(result.separator2)
AttributeError: 'TestResult' object has no attribute 'separator2'
The text was updated successfully, but these errors were encountered:
Description
I am trying to define my own resultClass.
This is because i need to do certain things when a unittest fails.
What I Did
resulted in:
The text was updated successfully, but these errors were encountered: