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

Method test_include_doc_string

tests/unit/bcdoc/test_document.py:66–69  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

64 self.assertEqual(doc.getvalue(), b'foobazbar')
65
66 def test_include_doc_string(self):
67 doc = ReSTDocument()
68 doc.include_doc_string('<p>this is a <code>test</code></p>')
69 self.assertEqual(doc.getvalue(), b'\n\nthis is a ``test`` \n\n')
70
71 def test_remove_doc_string(self):
72 doc = ReSTDocument()

Callers

nothing calls this directly

Calls 3

include_doc_stringMethod · 0.95
getvalueMethod · 0.95
ReSTDocumentClass · 0.90

Tested by

no test coverage detected