toktokkie.test.metadata.comic package

Submodules

toktokkie.test.metadata.comic.TestComicExtras module

class toktokkie.test.metadata.comic.TestComicExtras.TestComicExtras(methodName='runTest')

Bases: toktokkie.test.TestFramework._TestFramework

Class that tests the ComicExtras class

test_paths()

Tests the paths to the main and special directory :return: None

test_special_chapters()

Tests retrieving the special chapters for the comic :return: None

toktokkie.test.metadata.comic.TestPromptingComicMetadata module

class toktokkie.test.metadata.comic.TestPromptingComicMetadata.TestPromptingComicMetadata(methodName='runTest')

Bases: toktokkie.test.TestFramework._TestFramework

Class that tests the ComicPrompter class

test_prompt()

Tests generating a new metadata object using user prompts :return: None

test_prompting_comic_series()

Tests prompting comic series :return: None

test_prompting_comic_series_with_special_chapter()

Tests prompting comic series with special chapters :return: None

toktokkie.test.metadata.comic.TestRenamingComicMetadata module

class toktokkie.test.metadata.comic.TestRenamingComicMetadata.TestRenamingComicMetadata(methodName='runTest')

Bases: toktokkie.test.TestFramework._TestFramework

Class that tests the ComicRenamer class

static scramble_comic_chapters(comic: toktokkie.metadata.comic.Comic.Comic) → List[Tuple[str, str]]

Scrambles comic chapter names :param comic: The comic metadata to scramble :return: A list of tuples, cojnsisting of the old and new path

test_renaming()

Tests renaming files associated with the metadata type :return: None

test_renaming_comic_metadata()

Tests renaming a comic directory :return: None

test_renaming_special_chapter_without_inference()

Tests renaming a comic director’s special chapters where one chapter’s chapter number cannot be inferred :return: None

test_renaming_with_invalid_amount_of_special_chapters()

Tests renaming without special chapters :return: None

test_renaming_without_special_chapters()

Tests renaming without special chapters :return: None

toktokkie.test.metadata.comic.TestValidatingComicMetadata module

class toktokkie.test.metadata.comic.TestValidatingComicMetadata.TestValidatingComicMetadata(methodName='runTest')

Bases: toktokkie.test.TestFramework._TestFramework

Class that tests the ComicVaildator class

test_validation()

Tests if the validation of metadata works correctly :return: None

Module contents