Esempio n. 1
0
 def testTVEpisodesImages(self):
     id = 1396
     season_number = 1
     episode_number = 1
     tmdb = TMDB(TMDB_API_KEY)
     tv_episodes = tmdb.TV_Episodes(id, season_number, episode_number)
     response = tv_episodes.images()
     self.assertTrue(hasattr(tv_episodes, 'stills'))
Esempio n. 2
0
 def testTVEpisodesCredits(self):
     id = 1396
     season_number = 1
     episode_number = 1
     tmdb = TMDB(TMDB_API_KEY)
     tv_episodes = tmdb.TV_Episodes(id, season_number, episode_number)
     response = tv_episodes.credits()
     self.assertTrue(hasattr(tv_episodes, 'guest_stars'))
Esempio n. 3
0
 def testTVEpisodesExternalIds(self):
     id = 1396
     season_number = 1
     episode_number = 1
     imdb_id = 'tt0959621'
     tmdb = TMDB(TMDB_API_KEY)
     tv_episodes = tmdb.TV_Episodes(id, season_number, episode_number)
     response = tv_episodes.external_ids()
     self.assertEqual(tv_episodes.imdb_id, imdb_id)
Esempio n. 4
0
 def testTVEpisodesInfo(self):
     id = 1396
     season_number = 1
     episode_number = 1
     name = 'Pilot'
     tmdb = TMDB(TMDB_API_KEY)
     tv_episodes = tmdb.TV_Episodes(id, season_number, episode_number)
     response = tv_episodes.info()
     self.assertEqual(tv_episodes.name, name)