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

Method test_empty_code

tests/unit/bcdoc/test_style.py:78–82  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

76 self.assertEqual(style.doc.getvalue(), b'``foobar`` ')
77
78 def test_empty_code(self):
79 style = ReSTStyle(ReSTDocument())
80 style.start_code()
81 style.end_code()
82 self.assertEqual(style.doc.getvalue(), b'')
83
84 def test_h1(self):
85 style = ReSTStyle(ReSTDocument())

Callers

nothing calls this directly

Calls 5

start_codeMethod · 0.95
end_codeMethod · 0.95
ReSTStyleClass · 0.90
ReSTDocumentClass · 0.90
getvalueMethod · 0.45

Tested by

no test coverage detected