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

Method test_empty_italics

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

Source from the content-addressed store, hash-verified

58 self.assertEqual(style.doc.getvalue(), b'*foobar* ')
59
60 def test_empty_italics(self):
61 style = ReSTStyle(ReSTDocument())
62 style.start_i()
63 style.end_i()
64 self.assertEqual(style.doc.getvalue(), b'')
65
66 def test_p(self):
67 style = ReSTStyle(ReSTDocument())

Callers

nothing calls this directly

Calls 5

start_iMethod · 0.95
end_iMethod · 0.95
ReSTStyleClass · 0.90
ReSTDocumentClass · 0.90
getvalueMethod · 0.45

Tested by

no test coverage detected