MCPcopy Index your code
hub / github.com/google/python-fire / test_one_line_simple

Method test_one_line_simple

fire/docstrings_test.py:29–35  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

27class 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 = """

Callers

nothing calls this directly

Calls 1

DocstringInfoClass · 0.85

Tested by

no test coverage detected