def test_music_year(topchart_row_music):
    year = row_utils.get_year(topchart_row_music)
    if year != "1973":
        raise AssertionError()
def test_videogame_year(topchart_row_videogame):
    year = row_utils.get_year(topchart_row_videogame)
    if year != "1998":
        raise AssertionError()
def test_comic_year(topchart_row_comic):
    year = row_utils.get_year(topchart_row_comic)
    if year != "1986":
        raise AssertionError()
Exemplo n.º 4
0
def test_movie_year(topchart_row_movie):
    year = row_utils.get_year(topchart_row_movie)
    if year != "1999":
        raise AssertionError()
def test_series_year(topchart_row_series):
    year = row_utils.get_year(topchart_row_series)
    if year != "2008":
        raise AssertionError()
def test_book_year(topchart_row_book):
    year = row_utils.get_year(topchart_row_book)
    if year != "1949":
        raise AssertionError()