Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 908812 - dev-python/pytest-aiohttp-1.0.4 fails tests
Summary: dev-python/pytest-aiohttp-1.0.4 fails tests
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-18 23:40 UTC by Jonathan Lovelace
Modified: 2023-06-20 01:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
dev-python:pytest-aiohttp-1.0.4:20230618-223553.log (dev-python:pytest-aiohttp-1.0.4:20230618-223553.log,25.72 KB, text/x-log)
2023-06-18 23:40 UTC, Jonathan Lovelace
Details
emerge-info.txt (emerge-info.txt,10.31 KB, text/plain)
2023-06-18 23:41 UTC, Jonathan Lovelace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Lovelace 2023-06-18 23:40:25 UTC
Created attachment 864186 [details]
dev-python:pytest-aiohttp-1.0.4:20230618-223553.log

=dev-python/pytest-aiohttp-1.0.4 fails its test phase, specifically three tests under tests/test_fixtures.py:

=========================================================== short test summary info ============================================================
FAILED tests/test_fixtures.py::test_aiohttp_raw_server - AssertionError: assert {'passed': 0, 'skipped': 0, 'failed': 1, 'errors': 0, 'xpasse...
FAILED tests/test_fixtures.py::test_aiohttp_client_cls_fixture_custom_client_used - AssertionError: assert {'passed': 0, 'skipped': 0, 'faile...
FAILED tests/test_fixtures.py::test_aiohttp_client_cls_fixture_factory - AssertionError: assert {'passed': 0, 'skipped': 0, 'failed': 2, 'err...
=========================================== 3 failed, 6 passed, 1 deselected, 12 warnings in 25.33s ============================================

For all of them the outermost error is obviously a failure of an assertion about the output of running the inner tests; the output from test_aiohttp_raw_server includes this:

=========================================================== short test summary info ============================================================
FAILED test_aiohttp_raw_server.py::test_hello - AttributeError: 'coroutine' object has no attribute 'get'
============================================================== 1 failed in 0.18s ===============================================================

The output from test_aiohttp_client_cls_fixture_custom_client_used includes this:

=========================================================== short test summary info ============================================================
FAILED test_aiohttp_client_cls_fixture_custom_client_used.py::test_hello - TypeError: 'async_generator' object is not callable
============================================================== 1 failed in 0.05s ===============================================================

And the output from test_aiohttp_client_cls_fixture_factory includes two failures about "async_generator object is not callable"

This happens whether or not dev-python/async_generator is installed.
Comment 1 Jonathan Lovelace 2023-06-18 23:41:53 UTC
Created attachment 864188 [details]
emerge-info.txt