toktokkie.test.utils package¶
Submodules¶
toktokkie.test.utils.TestIdFetcher module¶
-
class
toktokkie.test.utils.TestIdFetcher.
TestIdFetcher
(methodName='runTest')¶ Bases:
toktokkie.test.TestFramework._TestFramework
Tests the IdFetcher class
-
test_anilist_fetching_with_mangadex
()¶ Tests fetching anilist IDs using mangadex IDs :return: None
-
test_anilist_fetching_with_myanimelist
()¶ Tests fetching anilist IDs using Myanimelist IDs :return: None
-
test_empty_other_ids
()¶ Tests if empty ID list are ignored successfully :return: None
-
test_error_handling
()¶ Tests if any errors are caught :return: None
-
test_imdb_fetching_with_tvdb
()¶ Tests fetching IMDB IDs using TVDB IDs :return: None
-
test_imdb_name_fetching
()¶ Tests fetching IMDB IDs based on name :return: None
-
test_musicbrainz_artist_by_name
()¶ Tests fetching musicbrainz ID using the artist name :return: None
-
test_myanimelist_fetching_with_anilist
()¶ Tests fetching myanimelist IDs using anilist IDs :return: None
-
test_myanimelist_fetching_with_mangadex
()¶ Tests fetching myanimelist IDs using mangadex IDs :return: None
-
test_tvdb_error_handling
()¶ Tests tvdb error handling :return: None
-
test_tvdb_name_fetching
()¶ Tests fetching tvdb IDs based on name :return: None
-
test_unsupported_fetching
()¶ Tests fetching unsupported IDs + ID combinations :return: None
-
toktokkie.test.utils.TestImdbCache module¶
-
class
toktokkie.test.utils.TestImdbCache.
TestImdbCache
(methodName='runTest')¶ Bases:
toktokkie.test.TestFramework._TestFramework
Tests for the ImdbCache class
-
test_caching
()¶ Tests if the caching forks correctly :return: None
-
test_invalid_id
()¶ Tests using an invalid ID :return: None
-
test_out_of_range_episode
()¶ Tests using out of range episodes/seasons :return: None
-
test_special_season
()¶ Tests fetching data from special season :return: None
-