def test_music_number_ratings(topchart_row_music):
    number_ratings = row_utils.get_number_of_ratings(topchart_row_music)
    if not int(number_ratings) > 35000:
        raise AssertionError()
def test_videogame_number_ratings(topchart_row_videogame):
    number_ratings = row_utils.get_number_of_ratings(topchart_row_videogame)
    if not int(number_ratings) > 19000:
        raise AssertionError()
def test_series_number_ratings(topchart_row_series):
    number_ratings = row_utils.get_number_of_ratings(topchart_row_series)
    if not int(number_ratings) > 104000:
        raise AssertionError()
Esempio n. 4
0
def test_movie_number_ratings(topchart_row_movie):
    number_ratings = row_utils.get_number_of_ratings(topchart_row_movie)
    if not int(number_ratings) > 160000:
        raise AssertionError()
def test_book_number_ratings(topchart_row_book):
    number_ratings = row_utils.get_number_of_ratings(topchart_row_book)
    if not int(number_ratings) > 60000:
        raise AssertionError()