MCPcopy
hub / github.com/aws/aws-cli / test_write

Method test_write

tests/unit/botocore/docs/bcdoc/test_document.py:29–32  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

27
28class TestReSTDocument(unittest.TestCase):
29 def test_write(self):
30 doc = ReSTDocument()
31 doc.write('foo')
32 self.assertEqual(doc.getvalue(), b'foo')
33
34 def test_writeln(self):
35 doc = ReSTDocument()

Callers

nothing calls this directly

Calls 3

writeMethod · 0.95
getvalueMethod · 0.95
ReSTDocumentClass · 0.90

Tested by

no test coverage detected