toktokkie.test.metadata.music.components package¶
Submodules¶
toktokkie.test.metadata.music.components.TestMusicAlbum module¶
toktokkie.test.metadata.music.components.TestMusicSong module¶
-
class
toktokkie.test.metadata.music.components.TestMusicSong.
TestMusicSong
(methodName='runTest')¶ Bases:
toktokkie.test.TestFramework._TestFramework
Class that tests the MusicSong class
-
generate_song
(index: int = 3) → toktokkie.metadata.music.components.MusicSong.MusicSong¶ Creates a MusicSong object :param index: The index of the song in the album :return: None
-
test_attributes
()¶ Tests the various attributes of the MusicSong class :return: None
-
test_mp3_loading
()¶ tests loading from an mp3 file :return: None
-
test_non_mp3
()¶ Tests how non-mp3 songs are handled :return: None
-
test_removing_tag
()¶ Tests removing a tag :return: None
Tests reading and writing mp3 tags :return: None
-
toktokkie.test.metadata.music.components.TestMusicThemeSong module¶
-
class
toktokkie.test.metadata.music.components.TestMusicThemeSong.
TestMusicThemeSong
(methodName='runTest')¶ Bases:
toktokkie.test.TestFramework._TestFramework
Class that tests the MusicThemeSong class
-
test_missing_json_attributes
()¶ Tests if missing JSON attributes are detected correctly :return: None
-
test_unmatched_album
()¶ Tests if unmatched album names cause warnings :return: None
-
toktokkie.test.metadata.music.components.TestMusicVideo module¶
-
class
toktokkie.test.metadata.music.components.TestMusicVideo.
TestMusicVideo
(methodName='runTest')¶ Bases:
toktokkie.test.TestFramework._TestFramework
Class that tests the MusicVideo class