MCPcopy Index your code
hub / github.com/aws/aws-cli / parse

Method parse

tests/unit/bcdoc/test_docstringparser.py:29–33  ·  view source on GitHub ↗
(self, html)

Source from the content-addressed store, hash-verified

27
28class TestDocStringParser(unittest.TestCase):
29 def parse(self, html):
30 docstring_parser = parser.DocStringParser(ReSTDocument())
31 docstring_parser.feed(html)
32 docstring_parser.close()
33 return docstring_parser.doc.getvalue()
34
35 def assert_contains_exact_lines_in_order(self, actual, expected):
36 # Get each line and filter out empty lines

Calls 4

feedMethod · 0.95
closeMethod · 0.95
ReSTDocumentClass · 0.90
getvalueMethod · 0.45

Tested by

no test coverage detected