Пример #1
0
def test_no_sep(cover_xhtml_no_sep: CoverXHTML,
                expected_file_epub2_no_sep: Path):
    assert check_epub2_document(cover_xhtml_no_sep, expected_file_epub2_no_sep)
Пример #2
0
def test_mimetype_file(mimetype_file: MimetypeFile, expected_file: Path):
    assert check_epub2_document(mimetype_file, expected_file)
Пример #3
0
def test_no_sep(container_xml_no_sep: ContainerXML,
                expected_file_no_sep: Path):
    assert check_epub2_document(container_xml_no_sep, expected_file_no_sep)
Пример #4
0
def test_empty_nav_trees(ncx_document_empty_nav_trees: NCXDocument,
                         expected_file_empty_nav_trees: Path):
    assert check_epub2_document(ncx_document_empty_nav_trees,
                                expected_file_empty_nav_trees)
Пример #5
0
def test_no_landmarks(
        epub2_package_document_no_landmarks: EPUB2PackageDocument,
        expected_file_epub2_no_landmarks: Path):
    assert check_epub2_document(epub2_package_document_no_landmarks,
                                expected_file_epub2_no_landmarks)
Пример #6
0
def test_no_landmarks(navigation_document_no_landmarks: NavigationDocument,
                      expected_file_epub2_no_landmarks: Path):
    assert check_epub2_document(navigation_document_no_landmarks,
                                expected_file_epub2_no_landmarks)