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

Method test_write

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

Source from the content-addressed store, hash-verified

31 doc.write(elt)
32
33 def test_write(self):
34 doc = ReSTDocument()
35 doc.write('foo')
36 self.assertEqual(doc.getvalue(), b'foo')
37
38 def test_writeln(self):
39 doc = ReSTDocument()

Callers

nothing calls this directly

Calls 3

writeMethod · 0.95
getvalueMethod · 0.95
ReSTDocumentClass · 0.90

Tested by

no test coverage detected