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

Method name_hdr_fixture

tests/text/test_fonts.py:639–653  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

637
638 @pytest.fixture
639 def name_hdr_fixture(self):
640 name_table = _NameTable(None, None, None, None)
641 bufr = (
642 b"123456"
643 b"123456789012"
644 b"\x00\x00"
645 b"\x00\x01"
646 b"\x00\x02"
647 b"\x00\x03"
648 b"\x00\x04"
649 b"\x00\x05"
650 )
651 idx = 1
652 expected_value = (0, 1, 2, 3, 4, 5)
653 return name_table, bufr, idx, expected_value
654
655 @pytest.fixture
656 def name_text_fixture(self, _raw_name_string_, _decode_name_):

Callers

nothing calls this directly

Calls 1

_NameTableClass · 0.90

Tested by

no test coverage detected