Esempio n. 1
0
def test_minimal(
    epub3_package_document_minimal: EPUB3PackageDocument,
    expected_file_epub3_minimal: Path
):
    assert check_epub3_document(
        epub3_package_document_minimal,
        expected_file_epub3_minimal
    )
Esempio n. 2
0
def test_empty_landmarks(
    epub3_package_document_maximal: EPUB3PackageDocument,
    expected_file_epub3_maximal: Path
):
    assert check_epub3_document(
        epub3_package_document_maximal,
        expected_file_epub3_maximal
    )
Esempio n. 3
0
def test_jpg(paginated_image_jpg: PaginatedImage, expected_file_jpg: Path):
    assert check_epub3_document(paginated_image_jpg, expected_file_jpg)
Esempio n. 4
0
def test_no_sep(container_xml_no_sep: ContainerXML,
                expected_file_no_sep: Path):
    assert check_epub3_document(container_xml_no_sep, expected_file_no_sep)
Esempio n. 5
0
def test_no_sep(cover_xhtml_no_sep: CoverXHTML,
                expected_file_epub3_no_sep: Path):
    assert check_epub3_document(cover_xhtml_no_sep, expected_file_epub3_no_sep)
Esempio n. 6
0
def test_mimetype_file(mimetype_file: MimetypeFile, expected_file: Path):
    assert check_epub3_document(mimetype_file, expected_file)