Exemple #1
0
 def test_series_fanarts(self):
     series_id = TV_ID
     series = tvdb.Series(series_id)
     response = series.Images.fanart()
     self.assertTrue(hasattr(series.Images, 'fanart'))
Exemple #2
0
 def test_series_episodes(self):
     series_id = TV_ID
     series = tvdb.Series(series_id)
     response = series.Episodes.all()
     self.assertTrue(hasattr(series.Episodes, 'episodes'))
Exemple #3
0
 def test_series_posters(self):
     series_id = TV_ID
     series = tvdb.Series(series_id)
     response = series.Images.poster()
     self.assertTrue(hasattr(series.Images, 'poster'))
Exemple #4
0
 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)
Exemple #5
0
 def test_series_actors(self):
     series_id = TV_ID
     series = tvdb.Series(series_id)
     response = series.actors()
     self.assertTrue(hasattr(series, 'actors'))
Exemple #6
0
 def test_series_fanarts(self):
     tvid = TV_ID
     series = tvdb.Series(tvid)
     series.Images.fanart()
     self.assertTrue(hasattr(series.Images, 'fanart'))
Exemple #7
0
 def test_series_seasonwide(self):
     tvid = TV_ID
     series = tvdb.Series(tvid)
     series.Images.seasonwide()
     self.assertTrue(hasattr(series.Images, 'seasonwide'))
Exemple #8
0
 def test_series_posters(self):
     tvid = TV_ID
     series = tvdb.Series(tvid)
     series.Images.poster()
     self.assertTrue(hasattr(series.Images, 'poster'))
Exemple #9
0
 def test_series_episodes(self):
     tvid = TV_ID
     series = tvdb.Series(tvid)
     series.Episodes.all()
     self.assertTrue(hasattr(series.Episodes, 'episodes'))
Exemple #10
0
 def test_series_actors(self):
     tvid = TV_ID
     series = tvdb.Series(tvid)
     series.actors()
     self.assertTrue(hasattr(series, 'actors'))
Exemple #11
0
 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()