def test_music_artist(topchart_row_music):
    artist = row_utils.get_producer(topchart_row_music)
    if artist != "Pink Floyd":
        raise AssertionError()
def test_videogame_developer(topchart_row_videogame):
    developer = row_utils.get_producer(topchart_row_videogame)
    if developer != "Nintendo EAD, Nintendo":
        raise AssertionError()
def test_comic_author(topchart_row_comic):
    author = row_utils.get_producer(topchart_row_comic)
    if author != "Dave Gibbons, Alan Moore":
        raise AssertionError()
示例#4
0
def test_movie_author(topchart_row_movie):
    author = row_utils.get_producer(topchart_row_movie)
    if author != "David Fincher":
        raise AssertionError()
def test_series_author(topchart_row_series):
    author = row_utils.get_producer(topchart_row_series)
    if author != "Vince Gilligan":
        raise AssertionError()
def test_book_author(topchart_row_book):
    author = row_utils.get_producer(topchart_row_book)
    if author != "George Orwell":
        raise AssertionError()