tartiflette-aiohttp icon indicating copy to clipboard operation
tartiflette-aiohttp copied to clipboard

Bump pytest-aiohttp from 0.3.0 to 1.0.4

Open dependabot[bot] opened this issue 2 years ago • 0 comments

Bumps pytest-aiohttp from 0.3.0 to 1.0.4.

Release notes

Sourced from pytest-aiohttp's releases.

pytest-aiohttp v1.0.4

pytest-aiohttp

pytest plugin for aiohttp support

The library provides useful fixtures for creation test aiohttp server and client.

Installation

.. code-block:: console

$ pip install pytest-aiohttp

Add asyncio_mode = auto line to pytest configuration <https://docs.pytest.org/en/latest/customize.html>_ (see pytest-asyncio modes <https://github.com/pytest-dev/pytest-asyncio#modes>_ for details). The plugin works with strict mode also.

Usage

Write tests in pytest-asyncio <https://github.com/pytest-dev/pytest-asyncio>_ style using provided fixtures for aiohttp test server and client creation. The plugin provides resources cleanup out-of-the-box.

The simple usage example:

.. code-block:: python

from aiohttp import web

async def hello(request): return web.Response(body=b"Hello, world")

def create_app(): app = web.Application() app.router.add_route("GET", "/", hello) return app

async def test_hello(aiohttp_client): client = await aiohttp_client(await create_app()) resp = await client.get("/")

... (truncated)

Changelog

Sourced from pytest-aiohttp's changelog.

1.0.4 (2022-02-12)

  • Fix failure with aiohttp_client fixture usage when asyncio_mode=strict. [#25](https://github.com/aio-libs/pytest-aiohttp/issues/25) <https://github.com/aio-libs/pytest-aiohttp/issue/25>_

1.0.3 (2022-01-03)

  • Fix loop and proactor_loop fixtures. [#22](https://github.com/aio-libs/pytest-aiohttp/issues/22) <https://github.com/aio-libs/pytest-aiohttp/issue/22>_

1.0.2 (2022-01-20)

  • Restore implicit switch to asyncio_mode = auto if legacy mode is detected.

1.0.1 (2022-01-20)

  • Don't implicitly switch from legacy to auto asyncio_mode, the integration doesn't work well.

1.0.0 (2022-1-20)

  • The plugin is compatible with pytest-asyncio now. It uses pytest-asyncio for async tests running and async fixtures support, providing by itself only fixtures for creating aiohttp test server and client.

0.2.0 (2017-11-30)

  • Fix backward incompatibility changes introduced by pytest 3.3+

0.1.3 (2016-09-08)

  • Add MANIFEST.in file

0.1.2 (2016-08-07)

  • Fix README markup

0.1.1 (2016-07-22)

  • Fix an url in setup.py

... (truncated)

Commits
  • 51f06ab Tune GitHub CI
  • 014320b Add github workflows for running tests on multiple python versions (#23)
  • f8b6d55 Add Changes project URL (#24)
  • 2d2c024 Update CHANGES.rst
  • 353cc6a Fix test running with pytest-asyncio==0.18.0 (#26)
  • 95dbdba Update CHANGES
  • cd25f96 Fix fixture loop and proactor_loop (#22)
  • 4f46426 Restore implicit switch to asyncio_mode = auto if legacy mode is detected
  • 95d8d45 Drop generated file
  • fa61ad5 Bump to 1.0.1
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

dependabot[bot] avatar Feb 14 '22 08:02 dependabot[bot]