def test_series_fanarts(self): series_id = TV_ID series = tvdb.Series(series_id) response = series.Images.fanart() self.assertTrue(hasattr(series.Images, 'fanart'))
def test_series_episodes(self): series_id = TV_ID series = tvdb.Series(series_id) response = series.Episodes.all() self.assertTrue(hasattr(series.Episodes, 'episodes'))
def test_series_posters(self): series_id = TV_ID series = tvdb.Series(series_id) response = series.Images.poster() self.assertTrue(hasattr(series.Images, 'poster'))
def test_series_info(self): series_id = TV_ID name = TV_NAME series = tvdb.Series(series_id) response = series.info() self.assertEqual(series.seriesName, name)
def test_series_actors(self): series_id = TV_ID series = tvdb.Series(series_id) response = series.actors() self.assertTrue(hasattr(series, 'actors'))
def test_series_fanarts(self): tvid = TV_ID series = tvdb.Series(tvid) series.Images.fanart() self.assertTrue(hasattr(series.Images, 'fanart'))
def test_series_seasonwide(self): tvid = TV_ID series = tvdb.Series(tvid) series.Images.seasonwide() self.assertTrue(hasattr(series.Images, 'seasonwide'))
def test_series_posters(self): tvid = TV_ID series = tvdb.Series(tvid) series.Images.poster() self.assertTrue(hasattr(series.Images, 'poster'))
def test_series_episodes(self): tvid = TV_ID series = tvdb.Series(tvid) series.Episodes.all() self.assertTrue(hasattr(series.Episodes, 'episodes'))
def test_series_actors(self): tvid = TV_ID series = tvdb.Series(tvid) series.actors() self.assertTrue(hasattr(series, 'actors'))
def test_series_info(self): tvid = TV_ID name = TV_NAME series = tvdb.Series(tvid) series.info() self.assertEqual(series.seriesName, name) # pylint: disable=no-member
def __init__(self, id): self.id = id show = tvdb.Series(id) response = show.info() self.seriesName = show.seriesName self.episodes = show.Episodes.all()