Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump pytest-aiohttp from 1.0.4 to 1.0.5 #391

Merged
merged 1 commit into from
Sep 12, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 11, 2023

Bumps pytest-aiohttp from 1.0.4 to 1.0.5.

Release notes

Sourced from pytest-aiohttp's releases.

pytest-aiohttp v1.0.5

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(create_app()) resp = await client.get("/")

... (truncated)

Changelog

Sourced from pytest-aiohttp's changelog.

1.0.5 (2023-09-06)

  • Fix some compatibility with Pytest 7.
Commits
  • 74b6faf Release 1.0.5
  • 21112c0 [pre-commit.ci] pre-commit autoupdate (#51)
  • e8c8cfd [pre-commit.ci] pre-commit autoupdate (#45)
  • 49d9b35 Add CodeQL workflow for GitHub code scanning (#46)
  • a6a2533 Use pytest.hookimpl in pytest_configure (#49)
  • 9aea81e Update check-jsonschema URL and version (#48)
  • a2c68a8 [pre-commit.ci] pre-commit autoupdate (#44)
  • 74afa87 [pre-commit.ci] pre-commit autoupdate (#42)
  • fca6a97 [pre-commit.ci] pre-commit autoupdate (#41)
  • a4218fa [pre-commit.ci] pre-commit autoupdate (#39)
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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 dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Sep 11, 2023
Bumps [pytest-aiohttp](https://github.com/aio-libs/pytest-aiohttp) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/aio-libs/pytest-aiohttp/releases)
- [Changelog](https://github.com/aio-libs/pytest-aiohttp/blob/master/CHANGES.rst)
- [Commits](aio-libs/pytest-aiohttp@v1.0.4...v1.0.5)

---
updated-dependencies:
- dependency-name: pytest-aiohttp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/pytest-aiohttp-1.0.5 branch from df3fa47 to a8c5f1a Compare September 12, 2023 09:43
@MartinHjelmare MartinHjelmare merged commit 9582f40 into main Sep 12, 2023
4 checks passed
@MartinHjelmare MartinHjelmare deleted the dependabot/pip/pytest-aiohttp-1.0.5 branch September 12, 2023 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant