Exemplo n.º 1
0
 def testTVExternalIds(self):
     id = 1396
     imdb_id = 'tt0903747'
     tmdb = TMDB(TMDB_API_KEY)
     tv = tmdb.TV(id)
     response = tv.external_ids()
     self.assertEqual(tv.imdb_id, imdb_id)
Exemplo n.º 2
0
 def testTVPopular(self):
     tmdb = TMDB(TMDB_API_KEY)
     tv = tmdb.TV()
     response = tv.popular()
     self.assertTrue(hasattr(tv, 'results'))
Exemplo n.º 3
0
 def testTVTopRated(self):
     tmdb = TMDB(TMDB_API_KEY)
     tv = tmdb.TV()
     response = tv.top_rated()
     self.assertTrue(hasattr(tv, 'results'))
Exemplo n.º 4
0
 def testTVTranslations(self):
     id = 1396
     tmdb = TMDB(TMDB_API_KEY)
     tv = tmdb.TV(id)
     response = tv.translations()
     self.assertTrue(hasattr(tv, 'translations'))
Exemplo n.º 5
0
 def testTVImages(self):
     id = 1396
     tmdb = TMDB(TMDB_API_KEY)
     tv = tmdb.TV(id)
     response = tv.images()
     self.assertTrue(hasattr(tv, 'backdrops'))
Exemplo n.º 6
0
 def testTVCredits(self):
     id = 1396
     tmdb = TMDB(TMDB_API_KEY)
     tv = tmdb.TV(id)
     response = tv.credits()
     self.assertTrue(hasattr(tv, 'cast'))