Adapted testcases to changed tmdb data
This commit is contained in:
parent
b51139e157
commit
5df818e589
|
@ -95,7 +95,7 @@ class TestTmdbMethods(unittest.TestCase):
|
|||
def test_search_tvshow(self):
|
||||
movie = TvShow()
|
||||
id = movie.search_title('The Flash')
|
||||
self.assertEqual(id, 60735)
|
||||
self.assertEqual(id, 236)
|
||||
|
||||
def test_tv_title(self):
|
||||
movie = TvShow()
|
||||
|
@ -106,7 +106,7 @@ class TestTmdbMethods(unittest.TestCase):
|
|||
movie = TvShow()
|
||||
movie.search_title('The Flash')
|
||||
#self.assertEqual('Tom Cavanagh', movie.cast[0])
|
||||
self.assertEqual('Carlos Valdes', movie.cast[2])
|
||||
self.assertEqual('Alex Désert', movie.cast[2])
|
||||
|
||||
def test_poster_path(self):
|
||||
movie = Movie()
|
||||
|
|
Loading…
Reference in a new issue