(self)
| 27 | class DocstringsTest(testutils.BaseTestCase): |
| 28 | |
| 29 | def test_one_line_simple(self): |
| 30 | docstring = """A simple one line docstring.""" |
| 31 | docstring_info = docstrings.parse(docstring) |
| 32 | expected_docstring_info = DocstringInfo( |
| 33 | summary='A simple one line docstring.', |
| 34 | ) |
| 35 | self.assertEqual(expected_docstring_info, docstring_info) |
| 36 | |
| 37 | def test_one_line_simple_whitespace(self): |
| 38 | docstring = """ |
nothing calls this directly
no test coverage detected