Package Details: maigret 0.4.4-5

Git Clone URL: https://aur.archlinux.org/maigret.git (read-only, click to copy)
Package Base: maigret
Description: Collect a dossier on a person by username from thousands of sites
Upstream URL: https://github.com/soxoj/maigret
Licenses: MIT
Submitter: carsme
Maintainer: carsme
Last Packager: carsme
Votes: 2
Popularity: 0.002039
First Submitted: 2023-02-11 12:46 (UTC)
Last Updated: 2024-03-09 19:05 (UTC)

Latest Comments

carsme commented on 2024-03-09 19:06 (UTC)

@micwoj92 Thanks for notifying me, fixed in 0.4.4-5.

micwoj92 commented on 2024-03-09 17:59 (UTC)

Check fails

==> Starting check()...
============================= test session starts ==============================
platform linux -- Python 3.11.8, pytest-7.4.4, pluggy-1.4.0
benchmark: 4.0.0 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)
rootdir: /home/micwoj92/pkg/maigret/src/maigret-0.4.4
configfile: pytest.ini
plugins: requests-mock-1.11.0, benchmark-4.0.0, pytest_httpserver-1.0.10, asyncio-0.23.4, aiohttp-1.0.4
asyncio: mode=Mode.AUTO
collected 66 items / 4 deselected / 62 selected

tests/test_activation.py sF                                              [  3%]
tests/test_checking.py ....                                              [  9%]
tests/test_cli.py ....                                                   [ 16%]
tests/test_data.py .                                                     [ 17%]
tests/test_executors.py ....                                             [ 24%]
tests/test_maigret.py .s.ss...                                           [ 37%]
tests/test_notify.py ....                                                [ 43%]
tests/test_report.py ..........s                                         [ 61%]
tests/test_sites.py .............                                        [ 82%]
tests/test_utils.py ...........                                          [100%]

=================================== FAILURES ===================================
_________________________ test_import_aiohttp_cookies __________________________

    @pytest.mark.asyncio
    async def test_import_aiohttp_cookies():
        cookies_filename = 'cookies_test.txt'
        with open(cookies_filename, 'w') as f:
            f.write(COOKIES_TXT)

        cookie_jar = import_aiohttp_cookies(cookies_filename)
>       assert list(cookie_jar._cookies.keys()) == ['xss.is', 'httpbin.org']
E       AssertionError: assert [('xss.is', '...in.org', '/')] == ['xss.is', 'httpbin.org']
E         At index 0 diff: ('xss.is', '/') != 'xss.is'
E         Use -v to get more diff

tests/test_activation.py:44: AssertionError
------------------------------ Captured log setup ------------------------------
ERROR    root:conftest.py:33 Removed test reports []
---------------------------- Captured log teardown -----------------------------
ERROR    root:conftest.py:33 Removed test reports []
=========================== short test summary info ============================
FAILED tests/test_activation.py::test_import_aiohttp_cookies - AssertionError...
============ 1 failed, 56 passed, 5 skipped, 4 deselected in 20.22s ============
==> ERROR: A failure occurred in check().
    Aborting...