PyDocs

Nav

Development Tools

TestResult.wasSuccessful

  • TestResult.wasSuccessful()
Tells whether or not this result was a success.
Changed in 3.4
  • 3.4: Returns False if there were any unexpectedSuccesses from tests marked with the @expectedFailure decorator.
0 Examples
No examples for unittest/TestResult.wasSuccessful.
See Also
No see-alsos for unittest/TestResult.wasSuccessful
0 Notes
No notes for TestResult.wasSuccessful