Example #1
0
 def testTVInfo(self):
     id = 1396
     name = 'UFC'
     tmdb = TMDB(TMDB_API_KEY)
     find = tmdb.Find(23281)
     response = find.info({'external_source': 'tvrage_id'})
     self.assertTrue(hasattr(response, name))
Example #2
0
 def testTVInfo(self):
     name = u'Game of Thrones'
     tmdb = TMDB(TMDB_API_KEY)
     find = tmdb.Find(121361)
     response = find.info({'external_source': 'tvdb_id'})
     self.assertEqual(response['tv_results'][0]['name'], name)