toktokkie.test.metadata.base package

Submodules

toktokkie.test.metadata.base.TestIdHelper module

class toktokkie.test.metadata.base.TestIdHelper.TestIdHelper(methodName='runTest')

Bases: toktokkie.test.TestFramework._TestFramework

Class that tests the IdHelper class

test_generating_manga_url()

Tests generating a manga URL :return: None

toktokkie.test.metadata.base.TestMetadata module

class toktokkie.test.metadata.base.TestMetadata.TestMetadata(methodName='runTest')

Bases: toktokkie.test.TestFramework._TestFramework

Class that tests core functionality of the Metadata class

test_missing_metadata_file()

Tests if missing metadata file is detected correctly

test_no_validation()

Tests constructing a metadata object without validation :return: None

test_repr()

Tests the repr method of the Metadata class :return: None

test_trailing_slashes()

Tests if trailing slashes are handled correctly for name parameter :return: None

toktokkie.test.metadata.base.TestMetadataBase module

class toktokkie.test.metadata.base.TestMetadataBase.TestMetadataBase(methodName='runTest')

Bases: toktokkie.test.TestFramework._TestFramework

Class that tests core functionality of the MetadataBase class

Tests the deviantart folder icon link printing :return: None

test_directory_gen_on_write()

Tests generating the .meta directory if it does not exist while writing :return: None

test_equality()

Tests equality of metadata objects :return: None

test_generating_id_urls()

Tests generating urls for IDs :return: None

test_retrieving_icon_file_path()

Tests retrieving the icon file path of an icon :return: None

test_string_representation()

Tests the string representation of the metadata :return: None

test_tags()

Tests setting and getting of metadata tags :return: None

toktokkie.test.metadata.base.TestPrompter module

class toktokkie.test.metadata.base.TestPrompter.TestPrompter(methodName='runTest')

Bases: toktokkie.test.TestFramework._TestFramework

Class that tests core functionality of the Prompter class

test_pre_prompt_checks()

Tests pre-prompt checking :return: None

test_required_ids()

Tests if required IDs are enforced correctly :return: None

test_too_few_ids()

Tests that too few provided IDs are handled correctly during prompting :return: None

toktokkie.test.metadata.base.TestRenamer module

class toktokkie.test.metadata.base.TestRenamer.TestRenamer(methodName='runTest')

Bases: toktokkie.test.TestFramework._TestFramework

Class that tests core functionality of the Renamer class

test_anilist_title_loading()

Tests loading the title using anilist :return: None

test_imdb_title_loading()

Tests loading the title using myanimelist :return: None

test_renaming_prompts()
test_skipping_title_rename()

Tests skipping renaming the title :return: None

test_title_loader_fallback()

Tests if the title loader correctly falls back on the current name if no IDs are available :return: None

toktokkie.test.metadata.base.TestValidator module

class toktokkie.test.metadata.base.TestValidator.TestValidator(methodName='runTest')

Bases: toktokkie.test.TestFramework._TestFramework

Class that tests core functionality of the Validator class

test_invalid_json_detection()

Tests if JSON data that does not adhere to the JSON schema is detected correctly

Module contents