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-asyncio from 0.18.0 to 0.18.1 #649

Merged
merged 1 commit into from
Feb 11, 2022

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 11, 2022

Bumps pytest-asyncio from 0.18.0 to 0.18.1.

Release notes

Sourced from pytest-asyncio's releases.

pytest-asyncio 0.18.1


title: 'pytest-asyncio: pytest support for asyncio'

image

image

image

Supported Python versions

image

pytest-asyncio is an Apache2 licensed library, written in Python, for testing asyncio code with pytest.

asyncio code is usually written in the form of coroutines, which makes it slightly more difficult to test using normal testing tools. pytest-asyncio provides useful fixtures and markers to make testing easier.

@pytest.mark.asyncio
async def test_some_asyncio_code():
    res = await library.do_something()
    assert b"expected result" == res

pytest-asyncio has been strongly influenced by pytest-tornado.

Features

  • fixtures for creating and injecting versions of the asyncio event loop
  • fixtures for injecting unused tcp/udp ports
  • pytest markers for treating tests as asyncio coroutines
  • easy testing with non-default event loops
  • support for [async def]{.title-ref} fixtures and async generator fixtures
  • support auto mode to handle all async fixtures and tests automatically by asyncio; provide strict mode if a test suite should work with different async frameworks simultaneously, e.g. asyncio and trio.

Installation

... (truncated)

Commits

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)

Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) from 0.18.0 to 0.18.1.
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases)
- [Commits](pytest-dev/pytest-asyncio@v0.18.0...v0.18.1)

---
updated-dependencies:
- dependency-name: pytest-asyncio
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Feb 11, 2022
@neu-ro-github-bot neu-ro-github-bot bot enabled auto-merge (squash) February 11, 2022 03:12
@codecov
Copy link

codecov bot commented Feb 11, 2022

Codecov Report

Merging #649 (ad8b7ee) into master (7bbca20) will decrease coverage by 40.44%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           master     #649       +/-   ##
===========================================
- Coverage   86.65%   46.21%   -40.45%     
===========================================
  Files          12       12               
  Lines        1993     1993               
  Branches      299      299               
===========================================
- Hits         1727      921      -806     
- Misses        165     1064      +899     
+ Partials      101        8       -93     
Flag Coverage Δ
integration ?
unit 46.21% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
platform_monitoring/api.py 21.54% <0.00%> (-58.74%) ⬇️
platform_monitoring/logs.py 40.04% <0.00%> (-47.82%) ⬇️
platform_monitoring/log_cleanup_poller.py 36.73% <0.00%> (-46.94%) ⬇️
platform_monitoring/kube_client.py 50.52% <0.00%> (-39.63%) ⬇️
platform_monitoring/user.py 37.03% <0.00%> (-33.34%) ⬇️
platform_monitoring/jobs_service.py 61.49% <0.00%> (-32.92%) ⬇️
platform_monitoring/container_runtime_client.py 36.63% <0.00%> (-29.71%) ⬇️
platform_monitoring/utils.py 69.44% <0.00%> (-25.00%) ⬇️
platform_monitoring/base.py 68.29% <0.00%> (-14.64%) ⬇️
platform_monitoring/validators.py 80.00% <0.00%> (-5.00%) ⬇️

@asvetlov asvetlov disabled auto-merge February 11, 2022 11:09
@asvetlov asvetlov merged commit 842849b into master Feb 11, 2022
@asvetlov asvetlov deleted the dependabot/pip/pytest-asyncio-0.18.1 branch February 11, 2022 11:10
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