コード例 #1
0
ファイル: test_movies.py プロジェクト: jungeebah/tmdbsimple
 def test_companies_movies(self):
     id = COMPANY_ID
     company = tmdb.Companies(id)
     response = company.movies()
     self.assertTrue(hasattr(company, 'results'))
コード例 #2
0
ファイル: test_movies.py プロジェクト: jungeebah/tmdbsimple
 def test_companies_alternative_names(self):
     id = COMPANY_ID
     company = tmdb.Companies(id)
     response = company.alternative_names()
     self.assertTrue(hasattr(company, 'results'))
コード例 #3
0
ファイル: test_movies.py プロジェクト: jungeebah/tmdbsimple
 def test_companies_images(self):
     id = COMPANY_ID
     company = tmdb.Companies(id)
     response = company.images()
     self.assertTrue(hasattr(company, 'logos'))
コード例 #4
0
ファイル: test_movies.py プロジェクト: jungeebah/tmdbsimple
 def test_companies_info(self):
     id = COMPANY_ID
     name = COMPANY_NAME
     company = tmdb.Companies(id)
     response = company.info()
     self.assertEqual(company.name, name)