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

Method name_text_fixture

tests/text/test_fonts.py:656–672  ·  view source on GitHub ↗
(self, _raw_name_string_, _decode_name_)

Source from the content-addressed store, hash-verified

654
655 @pytest.fixture
656 def name_text_fixture(self, _raw_name_string_, _decode_name_):
657 name_table = _NameTable(None, None, None, None)
658 bufr, platform_id, encoding_id, strings_offset = "xXx", 6, 7, 8
659 name_str_offset, length, raw_name = 9, 10, "Foobar"
660 _raw_name_string_.return_value = raw_name
661 name_ = _decode_name_.return_value
662 return (
663 name_table,
664 bufr,
665 platform_id,
666 encoding_id,
667 strings_offset,
668 name_str_offset,
669 length,
670 raw_name,
671 name_,
672 )
673
674 @pytest.fixture
675 def raw_fixture(self):

Callers

nothing calls this directly

Calls 1

_NameTableClass · 0.90

Tested by

no test coverage detected