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

Method header_fixture

tests/text/test_fonts.py:632–636  ·  view source on GitHub ↗
(self, _table_bytes_prop_)

Source from the content-addressed store, hash-verified

630
631 @pytest.fixture
632 def header_fixture(self, _table_bytes_prop_):
633 name_table = _NameTable(None, None, None, None)
634 _table_bytes_prop_.return_value = b"\x00\x00\x00\x02\x00\x2A"
635 expected_value = (0, 2, 42)
636 return name_table, expected_value
637
638 @pytest.fixture
639 def name_hdr_fixture(self):

Callers

nothing calls this directly

Calls 1

_NameTableClass · 0.90

Tested by

no test coverage detected