diff --git a/tests/test_tv.py b/tests/test_tv.py index 36b5b8f..3d77de7 100644 --- a/tests/test_tv.py +++ b/tests/test_tv.py @@ -142,7 +142,8 @@ def test_tv_videos(self): def test_tv_watch_providers(self): id = TV_ID tv = tmdb.TV(id) - tv.watch_providers() + response = tv.watch_providers() + self.assertIsInstance(response, dict) self.assertTrue(hasattr(tv, 'results')) def test_tv_rating_and_rating_delete(self): diff --git a/tmdbsimple/tv.py b/tmdbsimple/tv.py index 4f1b41f..0475df2 100644 --- a/tmdbsimple/tv.py +++ b/tmdbsimple/tv.py @@ -335,6 +335,7 @@ def watch_providers(self, **kwargs): response = self._GET(path, kwargs) self._set_attrs_to_values(response) + return response def rating(self, **kwargs): """