toktokkie.test package

Subpackages

Submodules

toktokkie.test.TestDirectory module

class toktokkie.test.TestDirectory.TestDirectory(methodName='runTest')

Bases: toktokkie.test.TestFramework._TestFramework

Class that tests the directory class

test_getting_metadata_without_media_type_in_json()

Tests if a missing media type is caught correctly :return: None

test_loading_directories()

Tests loading directories :return: None

test_loading_reloading_saving()

Tests loading, reloading and saving directory metadata :return: None

test_overwriting_exisiting_metadata()

Tests overwriting existing metadata :return: None

test_prompting()

Tests prompting for new metadata using the Directory class :return: None

toktokkie.test.TestFramework module

Module contents