From 5df818e58906ed8546f35e95827861de52fe96e1 Mon Sep 17 00:00:00 2001 From: lomion Date: Fri, 5 Mar 2021 09:52:27 +0100 Subject: [PATCH] Adapted testcases to changed tmdb data --- test_tmdb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test_tmdb.py b/test_tmdb.py index 7fd694d..6d9079d 100644 --- a/test_tmdb.py +++ b/test_tmdb.py @@ -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()