toktokkie.test.metadata.movie package

Submodules

toktokkie.test.metadata.movie.TestMovieExtras module

class toktokkie.test.metadata.movie.TestMovieExtras.TestMovieExtras(methodName='runTest')

Bases: toktokkie.test.TestFramework._TestFramework

Class that tests the MovieExtras class

toktokkie.test.metadata.movie.TestPromptingMovieMetadata module

class toktokkie.test.metadata.movie.TestPromptingMovieMetadata.TestPromptingMovieMetadata(methodName='runTest')

Bases: toktokkie.test.TestFramework._TestFramework

Class that tests the MoviePrompter class

test_generating_new_movie()

Tests prompting for new book metadata :return: None

test_prompt()

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

test_prompting_with_missing_book_file()

Tests if a missing book file is handled correctly while prompting :return: None

test_prompting_with_multiple_book_files()

Tests if a missing book file is handled correctly while prompting :return: None

toktokkie.test.metadata.movie.TestRenamingMovieMetadata module

class toktokkie.test.metadata.movie.TestRenamingMovieMetadata.TestRenamingMovieMetadata(methodName='runTest')

Bases: toktokkie.test.TestFramework._TestFramework

Class that tests the MovieRenamer class

test_renaming()

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

test_renaming_movie()

Tests renaming a movie :return: None

test_renaming_title_if_invalid()

Tests how the renaming of the title is handled if no valid data can be fetched :return: None

toktokkie.test.metadata.movie.TestValidatingMovieMetadata module

class toktokkie.test.metadata.movie.TestValidatingMovieMetadata.TestValidatingMovieMetadata(methodName='runTest')

Bases: toktokkie.test.TestFramework._TestFramework

Class that tests the MovieVaildator class

test_validating_missing_movie_file()

Tests if a missing book file is handled correctly :return: None

test_validation()

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

Module contents