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

chore: use RequestInfo rather than a mock #154

Merged
merged 2 commits into from
Oct 28, 2021

Conversation

hadrien
Copy link
Contributor

@hadrien hadrien commented Feb 12, 2020

No description provided.

@codecov-io
Copy link

codecov-io commented Feb 12, 2020

Codecov Report

Merging #154 into master will decrease coverage by 2.59%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #154     +/-   ##
=========================================
- Coverage   62.94%   60.35%   -2.6%     
=========================================
  Files           2        2             
  Lines         394      396      +2     
=========================================
- Hits          248      239      -9     
- Misses        146      157     +11
Impacted Files Coverage Δ
aioresponses/core.py 59.49% <100%> (-2.62%) ⬇️
aioresponses/compat.py 67.44% <0%> (-2.33%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e6e3e84...269ae37. Read the comment docs.

@@ -26,6 +26,8 @@
merge_params,
normalize_url,
)
if AIOHTTP_VERSION >= StrictVersion('3.1.0'):
from aiohttp import RequestInfo
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

from aiohttp import RequestInfo
in case of import error RequestInfo = Mock

@pnuckowski pnuckowski added this to the 0.6.4 milestone Feb 16, 2020
@pnuckowski pnuckowski removed this from the 0.6.4 milestone Aug 22, 2020
aioresponses/core.py Outdated Show resolved Hide resolved
@pnuckowski pnuckowski merged commit 98549d4 into pnuckowski:master Oct 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants