Returns a one-line description of the test, or None if no description has been provided. The default implementation of this method returns the first line of the specified test method's docstring.
(self)
| 519 | return result.TestResult() |
| 520 | |
| 521 | def shortDescription(self): |
| 522 | """Returns a one-line description of the test, or None if no |
| 523 | description has been provided. |
| 524 | |
| 525 | The default implementation of this method returns the first line of |
| 526 | the specified test method's docstring. |
| 527 | """ |
| 528 | doc = self._testMethodDoc |
| 529 | return doc.strip().split("\n")[0].strip() if doc else None |
| 530 | |
| 531 | |
| 532 | def id(self): |