def test_TMDB_MovieAppendTo(): t = TMDB(mock=True) extra_responses = [ 'alternative_titles', 'casts', 'images', 'keywords', 'releases', 'trailers', 'similar_movies', 'lists', 'changes' ] result = t.movie(387, append_to_response=extra_responses) assert result is not None
def test_TMDB_CollectionSearch(): t = TMDB(mock=True) result = t.collection_search('Die Hard') assert result is not None
def test_TMDB_Collection(): t = TMDB(mock=True) result = t.collection(1570) assert result is not None
def test_TMDB_MovieSearch(): t = TMDB(mock=True) result = t.movie_search('Das Boot', language='en') assert result is not None
def test_TMDB_MovieImages(): t = TMDB(mock=True) result = t.movie_images(387) file_path = result['posters'][0]['file_path'] _image = t.image(file_path, 'w500')
def test_TMDB_MovieLanguage(): t = TMDB(mock=True) result = t.movie(387, language='fr') assert result is not None
def test_TMDB_Movie(): t = TMDB(mock=True) result = t.movie(387) assert result is not None
def test_TMDB_Configuration(): t = TMDB(mock=True) t.configuration()