예제 #1
0
def test_save_load(basic_music_video):
    music_video_file = basic_music_video.save()
    loaded_music_video = MusicVideo.load(music_video_file)

    assert len(loaded_music_video.segments) == len(basic_music_video.segments)
예제 #2
0
def basic_music_video(shinsekai_segment, tatami_segment, orange_segment) -> MusicVideo:
    return MusicVideo([shinsekai_segment, tatami_segment, orange_segment])
예제 #3
0
def music_video():
    return MusicVideo([black_segment(), white_segment(), orange_segment()])