MCPcopy Create free account
hub / github.com/scanny/python-pptx / bold_fixture

Method bold_fixture

tests/text/test_fonts.py:226–231  ·  view source on GitHub ↗
(self, request, _tables_, head_table_)

Source from the content-addressed store, hash-verified

224
225 @pytest.fixture(params=[("head", True, True), ("head", False, False), ("foob", True, False)])
226 def bold_fixture(self, request, _tables_, head_table_):
227 key, is_bold, expected_value = request.param
228 head_table_.is_bold = is_bold
229 _tables_.return_value = {key: head_table_}
230 font = _Font(None)
231 return font, expected_value
232
233 @pytest.fixture
234 def family_fixture(self, _tables_, name_table_):

Callers

nothing calls this directly

Calls 1

_FontClass · 0.90

Tested by

no test coverage detected