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

Method test_writeln

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

Source from the content-addressed store, hash-verified

36 self.assertEqual(doc.getvalue(), b'foo')
37
38 def test_writeln(self):
39 doc = ReSTDocument()
40 doc.writeln('foo')
41 self.assertEqual(doc.getvalue(), b'foo\n')
42
43 def test_find_last_write(self):
44 doc = ReSTDocument()

Callers

nothing calls this directly

Calls 3

writelnMethod · 0.95
getvalueMethod · 0.95
ReSTDocumentClass · 0.90

Tested by

no test coverage detected