Пример #1
0
def mangakaka_search_html() -> BeautifulSoup:
    """
    HTML result after searching for query 'dragonball'
    """
    html_path = "tests/test_files/mangakaka/dragonball_search.html"
    html = get_bs4_tree(html_path)
    return html
Пример #2
0
def mangareader_invalid_volume_html() -> BeautifulSoup:
    """
    Returns the HTML to an invalid manga volume request
    """
    html_path = "tests/test_files/mangareader/dragonball_bardock_volume_100.html"
    html = get_bs4_tree(html_path)
    return html
Пример #3
0
def mangakaka_invalid_volume_html() -> BeautifulSoup:
    """
    Returns the HTML to an invalid manga volume request
    """
    html_path = "tests/test_files/mangakaka/dragonball_super_volume_999.html"
    html = get_bs4_tree(html_path)
    return html
Пример #4
0
def mangakaka_volume_html() -> BeautifulSoup:
    """
    Returns the HTML to a specfic manga volume
    """
    html_path = "tests/test_files/mangakaka/dragonball_super_volume_1.html"
    html = get_bs4_tree(html_path)
    return html
Пример #5
0
def mangareader_volume_html() -> BeautifulSoup:
    """
    Returns the HTML to a specfic manga volume
    """
    html_path = "tests/test_files/mangareader/dragonball_bardock_volume_2.html"
    html = get_bs4_tree(html_path)
    return html
Пример #6
0
def mangakaka_invalid_search_html() -> BeautifulSoup:
    """
    HTML result after searching for something that has no matches
    """
    html_path = "tests/test_files/mangakaka/no_search_results_found.html"
    html = get_bs4_tree(html_path)
    return html
Пример #7
0
def mangakaka_manga_title_page_html() -> BeautifulSoup:
    html_path = f"tests/test_files/mangakaka/dragonball_super_page.html"
    html = get_bs4_tree(html_path)
    return html
Пример #8
0
def mangareader_manga_title_page_html() -> BeautifulSoup:
    html_path = f"tests/test_files/mangareader/dragonball_bardock_page.html"
    html = get_bs4_tree(html_path)
    return html