blackfennec_doubles.document_system.mime_type package
Subpackages
- blackfennec_doubles.document_system.mime_type.json package
Submodules
blackfennec_doubles.document_system.mime_type.double_mime_type module
- class blackfennec_doubles.document_system.mime_type.double_mime_type.MimeTypeMock(mime_type_id='mime_type', imported_structure=None, exported_structure=None)[source]
Bases:
MimeType
- export_structure(output: IO, structure)[source]
Export the structure to output IO
- Raises
NotImplementedError – if subclass did not implement this method
- import_structure(data: IO) StructureMock [source]
Import the structure from IO data
- Returns
Structure contained in raw data
- Return type
- Raises
NotImplementedError – if subclass did not implement this method
- property mime_type_id: str
Identification of mime type via ID
- Returns
mime type ID
- Return type
str
- Raises
NotImplementedError – if subclass did not implement this property