Example #1
0
def test_get_file_duration_same_song(same_song_diff_type):
    same_song_type_1_dur = blimzu.get_file_duration(same_song_diff_type[0])
    same_song_type_2_dur = blimzu.get_file_duration(same_song_diff_type[1])
    assert same_song_type_1_dur == same_song_type_2_dur
Example #2
0
def test_get_file_duration(files_with_size):
    file_length = blimzu.get_file_duration(files_with_size[0])
    assert file_length == files_with_size[1]