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

Method it_can_construct_from_a_blob

tests/test_media.py:36–40  ·  view source on GitHub ↗
(self, from_blob_fixture)

Source from the content-addressed store, hash-verified

34 assert video is video_
35
36 def it_can_construct_from_a_blob(self, from_blob_fixture):
37 blob, mime_type, filename, Video_init_ = from_blob_fixture
38 video = Video.from_blob(blob, mime_type, filename)
39 Video_init_.assert_called_once_with(video, blob, mime_type, filename)
40 assert isinstance(video, Video)
41
42 def it_provides_access_to_the_video_bytestream(self, blob_fixture):
43 video, expected_value = blob_fixture

Callers

nothing calls this directly

Calls 1

from_blobMethod · 0.45

Tested by

no test coverage detected