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

Method test_note

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

Source from the content-addressed store, hash-verified

132 self.assertEqual(style.doc.getvalue(), b'\n\n.. warning::\n\n \n\n')
133
134 def test_note(self):
135 style = ReSTStyle(ReSTDocument())
136 style.start_note()
137 style.end_note()
138 self.assertEqual(style.doc.getvalue(), b'\n\n.. note::\n\n \n\n')
139
140 def test_danger(self):
141 style = ReSTStyle(ReSTDocument())

Callers

nothing calls this directly

Calls 5

start_noteMethod · 0.95
end_noteMethod · 0.95
ReSTStyleClass · 0.90
ReSTDocumentClass · 0.90
getvalueMethod · 0.45

Tested by

no test coverage detected