Skip to main content

py.test integration for aioresponses

Project description

PyPI version Python versions

py.test integration for aioresponses


You can install “pytest-aioresponses” via pip from PyPI:

$ pip install pytest-aioresponses


import aiohttp
import pytest

async def test_something(aioresponses):

    async with aiohttp.ClientSession() as session:
        async with session.get("https://hello.aio") as response:
            assert response.status == 200


Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.


Distributed under the terms of the MIT license, “pytest-aioresponses” is free and open source software


If you encounter any problems, please file an issue along with a detailed description.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytest-aioresponses-0.1.0.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

pytest_aioresponses-0.1.0-py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page