コード例 #1
0
ファイル: tests.py プロジェクト: shahraam/Halowrepo
 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)
コード例 #2
0
 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)