(self)
| 401 | assert Part(None, None, None, b"blob").blob == b"blob" |
| 402 | |
| 403 | def it_can_change_its_blob(self): |
| 404 | part = Part(None, None, None, b"old-blob") |
| 405 | part.blob = b"new-blob" |
| 406 | assert part.blob == b"new-blob" |
| 407 | |
| 408 | def it_knows_its_content_type(self): |
| 409 | assert Part(None, CT.PML_SLIDE, None).content_type == CT.PML_SLIDE |