def test_parse_season_response(self): with open('fixtures/api_seasons.json') as f: api_resonse = f.read() seasons = dreamfilm._series_to_list(api_resonse, 123) self.assertEqual(len(seasons), 7)
def test_parse_season_response(self): with open('fixtures/api_seasons.json') as f: api_resonse = f.read() seasons = dreamfilm._series_to_list(api_resonse, 123) self.assertEqual(len(seasons), 7)