SYMBOL INDEX (333 symbols across 28 files) FILE: epub_utils/cli.py function format_error_message (line 12) | def format_error_message(e: Exception) -> str: function print_version (line 22) | def print_version(ctx, param, value): function main (line 47) | def main(ctx, path): function format_option (line 52) | def format_option(default='xml'): function pretty_print_option (line 63) | def pretty_print_option(): function output_document_part (line 74) | def output_document_part(doc, part_name, format, pretty_print=False): function format_file_size (line 92) | def format_file_size(size_bytes: int) -> str: function format_files_table (line 111) | def format_files_table(files_info: list) -> str: function container (line 153) | def container(ctx, format, pretty_print): function package (line 172) | def package(ctx, format, pretty_print): function toc (line 194) | def toc(ctx, format, pretty_print, ncx, nav): function metadata (line 230) | def metadata(ctx, format, pretty_print): function manifest (line 241) | def manifest(ctx, format, pretty_print): function spine (line 252) | def spine(ctx, format, pretty_print): function content (line 264) | def content(ctx, item_id, format, pretty_print): function files (line 297) | def files(ctx, file_path, format, pretty_print): FILE: epub_utils/container.py class Container (line 35) | class Container: method __init__ (line 47) | def __init__(self, xml_content: str) -> None: method __str__ (line 61) | def __str__(self) -> str: method to_str (line 64) | def to_str(self, *args, **kwargs) -> str: method to_xml (line 67) | def to_xml(self, *args, **kwargs) -> str: method _find_rootfile_element (line 70) | def _find_rootfile_element(self, root: etree.Element) -> etree.Element: method _parse (line 106) | def _parse(self, xml_content: str) -> None: FILE: epub_utils/content/base.py class Content (line 1) | class Content: method __init__ (line 10) | def __init__(self, media_type: str, href: str) -> None: FILE: epub_utils/content/xhtml.py class XHTMLContent (line 10) | class XHTMLContent(Content): method __init__ (line 17) | def __init__(self, xml_content: str, media_type: str, href: str) -> None: method __str__ (line 37) | def __str__(self) -> str: method to_str (line 40) | def to_str(self, *args, **kwargs) -> str: method to_xml (line 43) | def to_xml(self, *args, **kwargs) -> str: method to_plain (line 46) | def to_plain(self) -> str: method _parse (line 49) | def _parse(self, xml_content: str) -> None: method tree (line 64) | def tree(self): method inner_text (line 71) | def inner_text(self) -> str: FILE: epub_utils/doc.py class Document (line 16) | class Document: method __init__ (line 29) | def __init__(self, path: Union[str, Path]) -> None: method _read_file_from_epub (line 69) | def _read_file_from_epub(self, file_path: str) -> str: method container (line 116) | def container(self) -> Container: method package (line 123) | def package(self) -> Package: method package_href (line 130) | def package_href(self): method toc (line 134) | def toc(self) -> Optional[Navigation]: method ncx (line 145) | def ncx(self) -> Optional[NCXNavigation]: method nav (line 162) | def nav(self) -> Optional[EPUBNavDocNavigation]: method find_content_by_id (line 178) | def find_content_by_id(self, item_id: str) -> str: method find_pub_resource_by_id (line 236) | def find_pub_resource_by_id(self, item_id: str) -> str: method list_files (line 275) | def list_files(self) -> List[Dict[str, str]]: method get_files_info (line 295) | def get_files_info(self) -> List[Dict[str, Union[str, int]]]: method get_file_by_path (line 323) | def get_file_by_path(self, file_path: str): FILE: epub_utils/exceptions.py class EPUBError (line 10) | class EPUBError(Exception): method __init__ (line 13) | def __init__(self, message: str, suggestions: list = None, file_path: ... method __str__ (line 26) | def __str__(self): class ParseError (line 40) | class ParseError(EPUBError, ValueError): method __init__ (line 43) | def __init__( class InvalidEPUBError (line 76) | class InvalidEPUBError(EPUBError, ValueError): method __init__ (line 79) | def __init__( class UnsupportedFormatError (line 109) | class UnsupportedFormatError(EPUBError, ValueError): method __init__ (line 112) | def __init__( class NotImplementedError (line 146) | class NotImplementedError(EPUBError): method __init__ (line 149) | def __init__( class FileNotFoundError (line 178) | class FileNotFoundError(EPUBError, ValueError): method __init__ (line 181) | def __init__(self, file_path: str, epub_path: str = None, suggestions:... class ValidationError (line 202) | class ValidationError(EPUBError, ValueError): method __init__ (line 205) | def __init__( FILE: epub_utils/navigation/base.py class NavigationItem (line 7) | class NavigationItem: method to_dict (line 18) | def to_dict(self) -> Dict[str, Any]: class Navigation (line 37) | class Navigation(ABC): method __init__ (line 46) | def __init__(self, media_type: str, href: str) -> None: method get_toc_items (line 52) | def get_toc_items(self) -> List[NavigationItem]: method get_page_list (line 57) | def get_page_list(self) -> List[NavigationItem]: method get_landmarks (line 62) | def get_landmarks(self) -> List[NavigationItem]: method add_toc_item (line 68) | def add_toc_item(self, item: NavigationItem, after_id: Optional[str] =... method remove_toc_item (line 73) | def remove_toc_item(self, item_id: str) -> bool: method update_toc_item (line 78) | def update_toc_item(self, item_id: str, **kwargs) -> bool: method reorder_toc_items (line 83) | def reorder_toc_items(self, new_order: List[str]) -> None: method find_item_by_id (line 88) | def find_item_by_id(self, item_id: str) -> Optional[NavigationItem]: method find_items_by_target (line 95) | def find_items_by_target(self, target: str) -> List[NavigationItem]: method get_all_items (line 99) | def get_all_items(self) -> List[NavigationItem]: method get_toc_items_as_dicts (line 107) | def get_toc_items_as_dicts(self) -> List[Dict[str, Any]]: method get_page_list_as_dicts (line 116) | def get_page_list_as_dicts(self) -> List[Dict[str, Any]]: method get_landmarks_as_dicts (line 124) | def get_landmarks_as_dicts(self) -> List[Dict[str, Any]]: method tree (line 135) | def tree(self): method to_str (line 141) | def to_str(self, *args, **kwargs) -> str: method to_xml (line 145) | def to_xml(self, *args, **kwargs) -> str: method to_plain (line 149) | def to_plain(self) -> str: FILE: epub_utils/navigation/nav/__init__.py class EPUBNavDocNavigation (line 13) | class EPUBNavDocNavigation(Navigation): method __init__ (line 18) | def __init__( method __str__ (line 43) | def __str__(self) -> str: method to_str (line 46) | def to_str(self, *args, **kwargs) -> str: method to_xml (line 49) | def to_xml(self, *args, **kwargs) -> str: method to_plain (line 52) | def to_plain(self) -> str: method _parse (line 55) | def _parse(self, xml_content: str) -> None: method tree (line 76) | def tree(self): method inner_text (line 83) | def inner_text(self) -> str: method get_toc_items (line 102) | def get_toc_items(self) -> List[NavigationItem]: method get_page_list (line 115) | def get_page_list(self) -> List[NavigationItem]: method get_landmarks (line 128) | def get_landmarks(self) -> List[NavigationItem]: method add_toc_item (line 143) | def add_toc_item(self, item: NavigationItem, after_id: Optional[str] =... method remove_toc_item (line 175) | def remove_toc_item(self, item_id: str) -> bool: method update_toc_item (line 207) | def update_toc_item(self, item_id: str, **kwargs) -> bool: method reorder_toc_items (line 255) | def reorder_toc_items(self, new_order: List[str]) -> None: method _convert_list_items_recursive (line 287) | def _convert_list_items_recursive( method _convert_list_items_to_pages (line 330) | def _convert_list_items_to_pages(self, list_items: List[NavListItem]) ... method _convert_list_items_to_landmarks (line 351) | def _convert_list_items_to_landmarks( FILE: epub_utils/navigation/nav/dom.py class NavElement (line 8) | class NavElement: method __init__ (line 11) | def __init__(self, element: etree.Element) -> None: method id (line 15) | def id(self) -> Optional[str]: method id (line 20) | def id(self, value: str) -> None: class NavAnchor (line 25) | class NavAnchor(NavElement): method href (line 29) | def href(self) -> Optional[str]: method href (line 34) | def href(self, value: str) -> None: method text (line 39) | def text(self) -> str: method text (line 44) | def text(self, value: str) -> None: method epub_type (line 49) | def epub_type(self) -> Optional[str]: method epub_type (line 54) | def epub_type(self, value: str) -> None: class NavListItem (line 59) | class NavListItem(NavElement): method anchor (line 63) | def anchor(self) -> Optional[NavAnchor]: method nested_list (line 73) | def nested_list(self) -> Optional['NavList']: method span (line 83) | def span(self) -> Optional[NavElement]: method add_anchor (line 92) | def add_anchor(self, href: str, text: str, epub_type: Optional[str] = ... method add_span (line 102) | def add_span(self, text: str) -> NavElement: method add_nested_list (line 109) | def add_nested_list(self) -> 'NavList': class NavList (line 115) | class NavList(NavElement): method list_items (line 119) | def list_items(self) -> List[NavListItem]: method add_list_item (line 126) | def add_list_item(self) -> NavListItem: method get_all_items_recursive (line 131) | def get_all_items_recursive(self) -> List[NavListItem]: class NavSection (line 146) | class NavSection(NavElement): method epub_type (line 150) | def epub_type(self) -> Optional[str]: method epub_type (line 155) | def epub_type(self, value: str) -> None: method heading (line 160) | def heading(self) -> Optional[str]: method ordered_list (line 171) | def ordered_list(self) -> Optional[NavList]: method add_heading (line 180) | def add_heading(self, level: int, text: str) -> NavElement: method add_ordered_list (line 192) | def add_ordered_list(self) -> NavList: class NavDocument (line 198) | class NavDocument(NavElement): method toc_nav (line 202) | def toc_nav(self) -> Optional[NavSection]: method page_list_nav (line 216) | def page_list_nav(self) -> Optional[NavSection]: method landmarks_nav (line 230) | def landmarks_nav(self) -> Optional[NavSection]: method all_nav_sections (line 244) | def all_nav_sections(self) -> List[NavSection]: method title (line 252) | def title(self) -> str: method body (line 260) | def body(self) -> Optional[NavElement]: method add_nav_section (line 269) | def add_nav_section(self, epub_type: str) -> NavSection: FILE: epub_utils/navigation/ncx/__init__.py class NCXNavigation (line 14) | class NCXNavigation(Navigation): method __init__ (line 17) | def __init__( method __str__ (line 43) | def __str__(self) -> str: method to_str (line 46) | def to_str(self, *args, **kwargs) -> str: method to_xml (line 49) | def to_xml(self, *args, **kwargs) -> str: method to_plain (line 52) | def to_plain(self) -> str: method _parse (line 55) | def _parse(self, xml_content: str) -> None: method tree (line 77) | def tree(self): method inner_text (line 84) | def inner_text(self) -> str: method get_toc_items (line 101) | def get_toc_items(self) -> List[NavigationItem]: method get_page_list (line 110) | def get_page_list(self) -> List[NavigationItem]: method get_landmarks (line 119) | def get_landmarks(self) -> List[NavigationItem]: method add_toc_item (line 131) | def add_toc_item(self, item: NavigationItem, after_id: Optional[str] =... method remove_toc_item (line 182) | def remove_toc_item(self, item_id: str) -> bool: method update_toc_item (line 201) | def update_toc_item(self, item_id: str, **kwargs) -> bool: method reorder_toc_items (line 238) | def reorder_toc_items(self, new_order: List[str]) -> None: method _convert_nav_points_recursive (line 258) | def _convert_nav_points_recursive( method _convert_page_targets (line 283) | def _convert_page_targets(self, page_targets: List[NCXPageTarget]) -> ... method _convert_nav_target (line 300) | def _convert_nav_target(self, nav_target: NCXNavTarget) -> NavigationI... FILE: epub_utils/navigation/ncx/dom.py class NCXElement (line 8) | class NCXElement: method __init__ (line 11) | def __init__(self, element: etree.Element): method id (line 15) | def id(self) -> Optional[str]: method id (line 20) | def id(self, value: str) -> None: class NCXText (line 25) | class NCXText(NCXElement): method text (line 29) | def text(self) -> str: method text (line 34) | def text(self, value: str) -> None: class NCXContent (line 39) | class NCXContent(NCXElement): method src (line 43) | def src(self) -> Optional[str]: method src (line 48) | def src(self, value: str) -> None: class NCXNavLabel (line 53) | class NCXNavLabel(NCXElement): method text_element (line 57) | def text_element(self) -> Optional[NCXText]: method text (line 67) | def text(self) -> str: method text (line 73) | def text(self, value: str) -> None: class NCXNavPoint (line 86) | class NCXNavPoint(NCXElement): method class_attr (line 90) | def class_attr(self) -> Optional[str]: method class_attr (line 95) | def class_attr(self, value: str) -> None: method play_order (line 100) | def play_order(self) -> Optional[int]: method play_order (line 106) | def play_order(self, value: int) -> None: method nav_label (line 111) | def nav_label(self) -> Optional[NCXNavLabel]: method content (line 121) | def content(self) -> Optional[NCXContent]: method nav_points (line 131) | def nav_points(self) -> List['NCXNavPoint']: method add_nav_point (line 138) | def add_nav_point( method label_text (line 175) | def label_text(self) -> str: method content_src (line 181) | def content_src(self) -> str: class NCXNavMap (line 187) | class NCXNavMap(NCXElement): method nav_points (line 191) | def nav_points(self) -> List[NCXNavPoint]: method add_nav_point (line 198) | def add_nav_point( method get_all_nav_points (line 234) | def get_all_nav_points(self) -> List[NCXNavPoint]: class NCXPageTarget (line 242) | class NCXPageTarget(NCXElement): method type_attr (line 246) | def type_attr(self) -> Optional[str]: method type_attr (line 251) | def type_attr(self, value: str) -> None: method value (line 256) | def value(self) -> Optional[str]: method value (line 261) | def value(self, value: str) -> None: method play_order (line 266) | def play_order(self) -> Optional[int]: method play_order (line 272) | def play_order(self, value: int) -> None: method nav_label (line 277) | def nav_label(self) -> Optional[NCXNavLabel]: method content (line 287) | def content(self) -> Optional[NCXContent]: method label_text (line 297) | def label_text(self) -> str: method content_src (line 303) | def content_src(self) -> str: class NCXPageList (line 309) | class NCXPageList(NCXElement): method page_targets (line 313) | def page_targets(self) -> List[NCXPageTarget]: method add_page_target (line 320) | def add_page_target( class NCXNavTarget (line 358) | class NCXNavTarget(NCXElement): method value (line 362) | def value(self) -> Optional[str]: method value (line 367) | def value(self, value: str) -> None: method class_attr (line 372) | def class_attr(self) -> Optional[str]: method class_attr (line 377) | def class_attr(self, value: str) -> None: method play_order (line 382) | def play_order(self) -> Optional[int]: method play_order (line 388) | def play_order(self, value: int) -> None: method nav_label (line 393) | def nav_label(self) -> Optional[NCXNavLabel]: method content (line 403) | def content(self) -> Optional[NCXContent]: class NCXNavList (line 413) | class NCXNavList(NCXElement): method nav_label (line 417) | def nav_label(self) -> Optional[NCXNavLabel]: method nav_targets (line 427) | def nav_targets(self) -> List[NCXNavTarget]: method add_nav_target (line 434) | def add_nav_target( method label_text (line 464) | def label_text(self) -> str: class NCXDocument (line 470) | class NCXDocument(NCXElement): method nav_map (line 474) | def nav_map(self) -> Optional[NCXNavMap]: method page_list (line 484) | def page_list(self) -> Optional[NCXPageList]: method nav_lists (line 494) | def nav_lists(self) -> List[NCXNavList]: method title (line 502) | def title(self) -> str: method author (line 510) | def author(self) -> str: method get_uid (line 517) | def get_uid(self) -> Optional[str]: method get_depth (line 525) | def get_depth(self) -> Optional[int]: method get_total_page_count (line 533) | def get_total_page_count(self) -> Optional[int]: method get_max_page_number (line 541) | def get_max_page_number(self) -> Optional[int]: FILE: epub_utils/package/__init__.py class Package (line 29) | class Package: method __init__ (line 55) | def __init__(self, xml_content: str) -> None: method __str__ (line 77) | def __str__(self) -> str: method to_str (line 80) | def to_str(self, *args, **kwargs) -> str: method to_xml (line 83) | def to_xml(self, *args, **kwargs) -> str: method _parse (line 86) | def _parse(self, xml_content: str) -> None: method _get_text (line 176) | def _get_text(self, root: etree.Element, xpath: str) -> str: method _find_toc_href (line 190) | def _find_toc_href(self, root: etree.Element) -> str: method _find_nav_href (line 219) | def _find_nav_href(self, root: etree.Element) -> str: method _parse_version (line 247) | def _parse_version(self, version): FILE: epub_utils/package/manifest.py class Manifest (line 10) | class Manifest: method __init__ (line 19) | def __init__(self, xml_content: str): method __str__ (line 27) | def __str__(self) -> str: method to_str (line 30) | def to_str(self, *args, **kwargs) -> str: method to_xml (line 33) | def to_xml(self, *args, **kwargs) -> str: method _parse (line 36) | def _parse(self, xml_content: str) -> None: method find_by_property (line 70) | def find_by_property(self, property_name: str) -> dict: method find_by_id (line 77) | def find_by_id(self, item_id: str) -> dict: method find_by_media_type (line 84) | def find_by_media_type(self, media_type: str) -> list: FILE: epub_utils/package/metadata.py class Metadata (line 10) | class Metadata: method __init__ (line 22) | def __init__(self, xml_content: str): method _parse (line 30) | def _parse(self, xml_content: str) -> None: method _add_field (line 65) | def _add_field(self, name: str, value: str) -> None: method _validate (line 74) | def _validate(self, raise_exception=False) -> None: method _validate_field (line 101) | def _validate_field(self, field_name: str) -> None: method __str__ (line 115) | def __str__(self) -> str: method to_str (line 118) | def to_str(self, *args, **kwargs) -> str: method to_xml (line 121) | def to_xml(self, *args, **kwargs) -> str: method _get_text (line 124) | def _get_text(self, root: etree.Element, xpath: str) -> str: method __getattr__ (line 128) | def __getattr__(self, name: str) -> str: method to_kv (line 131) | def to_kv(self) -> str: FILE: epub_utils/package/spine.py class Spine (line 10) | class Spine: method __init__ (line 19) | def __init__(self, xml_content: str): method __str__ (line 30) | def __str__(self) -> str: method to_str (line 33) | def to_str(self, *args, **kwargs) -> str: method to_xml (line 36) | def to_xml(self, *args, **kwargs) -> str: method _parse (line 39) | def _parse(self, xml_content: str) -> None: method find_by_idref (line 73) | def find_by_idref(self, itemref_idref: str) -> dict: FILE: epub_utils/printers.py function highlight_xml (line 11) | def highlight_xml(xml_content: str) -> str: function pretty_print_xml (line 15) | def pretty_print_xml(xml_content: str) -> str: function print_to_str (line 54) | def print_to_str(xml_content: bool, pretty_print: bool) -> str: function print_to_xml (line 61) | def print_to_xml(xml_content: str, pretty_print: bool, highlight_syntax:... class XMLPrinter (line 71) | class XMLPrinter: method __init__ (line 74) | def __init__(self, xml_content_provider): method to_str (line 83) | def to_str(self, pretty_print: bool = False) -> str: method to_xml (line 95) | def to_xml(self, pretty_print: bool = False, highlight_syntax: bool = ... FILE: setup.py function get_long_description (line 8) | def get_long_description(): FILE: tests/conftest.py function doc_path (line 5) | def doc_path(): FILE: tests/test_cli.py function test_help (line 14) | def test_help(options): function test_version (line 28) | def test_version(options): function test_files_command_with_file_path_xhtml_xml (line 34) | def test_files_command_with_file_path_xhtml_xml(doc_path): function test_files_command_with_file_path_missing_file (line 43) | def test_files_command_with_file_path_missing_file(doc_path): function test_files_command_without_file_path_table (line 50) | def test_files_command_without_file_path_table(doc_path): function test_files_command_without_file_path_raw (line 59) | def test_files_command_without_file_path_raw(doc_path): function test_toc_command_default (line 67) | def test_toc_command_default(doc_path): function test_toc_command_nav_flag (line 74) | def test_toc_command_nav_flag(doc_path): function test_toc_command_mutually_exclusive_flags (line 81) | def test_toc_command_mutually_exclusive_flags(doc_path): FILE: tests/test_container.py function test_container_initialization (line 15) | def test_container_initialization(): function test_invalid_container_xml (line 24) | def test_invalid_container_xml(): function test_container_to_str_pretty_print_parameter (line 48) | def test_container_to_str_pretty_print_parameter(xml_content, pretty_pri... FILE: tests/test_doc.py function test_document_container (line 9) | def test_document_container(doc_path): function test_document_package (line 17) | def test_document_package(doc_path): function test_document_toc (line 45) | def test_document_toc(doc_path): function test_document_find_content_by_id (line 53) | def test_document_find_content_by_id(doc_path): function test_document_get_file_by_path_xhtml (line 59) | def test_document_get_file_by_path_xhtml(doc_path): function test_document_get_file_by_path_missing_file (line 77) | def test_document_get_file_by_path_missing_file(doc_path): function test_document_nav_property (line 90) | def test_document_nav_property(doc_path): FILE: tests/test_manifest.py function test_manifest_initialization (line 21) | def test_manifest_initialization(): function test_minimal_manifest (line 37) | def test_minimal_manifest(): function test_find_by_property (line 47) | def test_find_by_property(): function test_find_by_id (line 54) | def test_find_by_id(): function test_find_by_media_type (line 61) | def test_find_by_media_type(): function test_manifest_to_str_pretty_print_parameter (line 83) | def test_manifest_to_str_pretty_print_parameter(xml_content, pretty_prin... FILE: tests/test_metadata.py function test_metadata_parse_valid_element (line 29) | def test_metadata_parse_valid_element(): function test_metadata_validate_missing_identifier_with_raise_exception (line 46) | def test_metadata_validate_missing_identifier_with_raise_exception(): function test_metadata_to_str_pretty_print_parameter (line 67) | def test_metadata_to_str_pretty_print_parameter(xml_content, pretty_prin... FILE: tests/test_nav_navigation.py function test_nav_doc_navigation_initialization (line 23) | def test_nav_doc_navigation_initialization(): function test_nav_doc_navigation_interface (line 35) | def test_nav_doc_navigation_interface(): function test_nav_doc_navigation_toc_items_as_dicts (line 69) | def test_nav_doc_navigation_toc_items_as_dicts(): function test_nav_doc_navigation_page_list (line 132) | def test_nav_doc_navigation_page_list(): function test_nav_doc_navigation_landmarks (line 182) | def test_nav_doc_navigation_landmarks(): function test_nav_doc_navigation_editing (line 232) | def test_nav_doc_navigation_editing(): function test_nav_doc_navigation_span_elements (line 271) | def test_nav_doc_navigation_span_elements(): function test_nav_doc_navigation_item_types (line 316) | def test_nav_doc_navigation_item_types(): function test_nav_doc_navigation_invalid_media_type (line 350) | def test_nav_doc_navigation_invalid_media_type(): function test_nav_doc_navigation_malformed_xml (line 360) | def test_nav_doc_navigation_malformed_xml(): function test_nav_doc_navigation_output_methods (line 384) | def test_nav_doc_navigation_output_methods(): function test_nav_doc_navigation_reorder_items (line 412) | def test_nav_doc_navigation_reorder_items(): function test_nav_doc_navigation_empty_document (line 445) | def test_nav_doc_navigation_empty_document(): FILE: tests/test_ncx_navigation.py function test_ncx_navigation_initialization (line 25) | def test_ncx_navigation_initialization(): function test_ncx_navigation_interface (line 38) | def test_ncx_navigation_interface(): function test_ncx_navigation_hierarchy (line 72) | def test_ncx_navigation_hierarchy(): function test_ncx_navigation_editing (line 143) | def test_ncx_navigation_editing(): FILE: tests/test_package.py function test_package_initialization (line 92) | def test_package_initialization(): function test_package_invalid_xml (line 102) | def test_package_invalid_xml(): function test_epub3 (line 108) | def test_epub3(): function test_epub3_without_toc (line 115) | def test_epub3_without_toc(): function test_epub2 (line 122) | def test_epub2(): function test_epub2_without_toc (line 129) | def test_epub2_without_toc(): function test_epub1 (line 136) | def test_epub1(): function test_invalid_version (line 143) | def test_invalid_version(): function test_package_to_str_pretty_print_parameter (line 164) | def test_package_to_str_pretty_print_parameter(xml_content, pretty_print... FILE: tests/test_spine.py function test_spine_initialization (line 21) | def test_spine_initialization(): function test_minimal_spine (line 39) | def test_minimal_spine(): function test_spine_to_str_pretty_print_parameter (line 65) | def test_spine_to_str_pretty_print_parameter(xml_content, pretty_print, ... FILE: tests/test_xhtml_content.py function test_simple_paragraph (line 6) | def test_simple_paragraph(): function test_to_str_pretty_print_parameter (line 56) | def test_to_str_pretty_print_parameter(xml_content, pretty_print, expect...