MCPcopy Create free account
hub / github.com/aws/aws-cli / test_empty_bold

Method test_empty_bold

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

Source from the content-addressed store, hash-verified

47 self.assertEqual(style.doc.getvalue(), b'**foobar** ')
48
49 def test_empty_bold(self):
50 style = ReSTStyle(ReSTDocument())
51 style.start_b()
52 style.end_b()
53 self.assertEqual(style.doc.getvalue(), b'')
54
55 def test_italics(self):
56 style = ReSTStyle(ReSTDocument())

Callers

nothing calls this directly

Calls 5

start_bMethod · 0.95
end_bMethod · 0.95
ReSTStyleClass · 0.90
ReSTDocumentClass · 0.90
getvalueMethod · 0.45

Tested by

no test coverage detected