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

Method read_fixture

tests/text/test_fonts.py:376–381  ·  view source on GitHub ↗
(self, file_)

Source from the content-addressed store, hash-verified

374
375 @pytest.fixture
376 def read_fixture(self, file_):
377 stream = _Stream(file_)
378 offset, length = 42, 21
379 file_.read.return_value = "foobar"
380 expected_value = "foobar"
381 return stream, offset, length, file_, expected_value
382
383 @pytest.fixture
384 def read_flds_fixture(self, file_):

Callers

nothing calls this directly

Calls 1

_StreamClass · 0.90

Tested by

no test coverage detected