Source: imdbpy
Version: 2021.04.18-3
Severity: serious
User: debian...@lists.debian.org
Usertags: regression

Dear maintainer,

I happened to look at the results of the autopkgtest of your package and noticed it regressed some months ago. Unfortunately, it went by unnoticed, and the artifacts of the passing tests can't be checked anymore to see if this is due to a package that migrated while it broke your test. However, I have the suspicion this is due to changes on an external server.

Paul

https://ci.debian.net/packages/i/imdbpy/

https://ci.debian.net/data/autopkgtest/testing/amd64/i/imdbpy/24973321/log.gz

=================================== FAILURES =================================== ____________ test_movie_demographics_votes_should_be_integers[http] ____________

ia = <imdb.parser.http.IMDbHTTPAccessSystem object at 0x7f60fe2bf790>

    def test_movie_demographics_votes_should_be_integers(ia):
        movie = ia.get_movie('0133093', info=['vote details'])  # Matrix
>       top1000 = movie['demographics']['top 1000 voters']
E       KeyError: 'top 1000 voters'

tests/test_http_movie_votes.py:34: KeyError
____________ test_movie_demographics_rating_should_be_numeric[http] ____________

ia = <imdb.parser.http.IMDbHTTPAccessSystem object at 0x7f60fe2bee90>

    def test_movie_demographics_rating_should_be_numeric(ia):
        movie = ia.get_movie('0133093', info=['vote details'])  # Matrix
>       top1000 = movie['demographics']['top 1000 voters']
E       KeyError: 'top 1000 voters'

tests/test_http_movie_votes.py:40: KeyError
_______________ test_search_movie_if_none_should_be_empty[http] ________________

ia = <imdb.parser.http.IMDbHTTPAccessSystem object at 0x7f60fe3696c0>

    def test_search_movie_if_none_should_be_empty(ia):
        movies = ia.search_movie('%e4%82%a2', results=500)
>       assert movies == []
E       assert [<Movie id:19...hing (2018)_>] == []
E Left contains one more item: <Movie id:19969974[http] title:_Episode 482: An Introduction To Jet Ski Fishing With Paul Hayes (2022) (Podcast Episode) - Australian Lure Fishing (2018)_>
E         Use -v to get more diff

tests/test_http_search_movie.py:32: AssertionError
=========================== short test summary info ============================ FAILED tests/test_http_movie_votes.py::test_movie_demographics_votes_should_be_integers[http] FAILED tests/test_http_movie_votes.py::test_movie_demographics_rating_should_be_numeric[http] FAILED tests/test_http_search_movie.py::test_search_movie_if_none_should_be_empty[http] ===== 3 failed, 338 passed, 19 skipped, 2 deselected in 150.37s (0:02:30) ======

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to