unittest.TestResult.addUnexpectedSuccess

TestResult.addUnexpectedSuccess(*args, **kw)[source]

Called when a test was expected to fail, but succeed.