mirror of
https://github.com/JockeTF/fimfarchive.git
synced 2024-11-29 08:08:00 +01:00
Fix type error in requests mocking fixture
This commit is contained in:
parent
c1f05474d7
commit
76ec61c44f
1 changed files with 2 additions and 2 deletions
4
tests/fixtures/responses.py
vendored
4
tests/fixtures/responses.py
vendored
|
@ -32,7 +32,7 @@ import importlib_resources as resources
|
||||||
import pytest
|
import pytest
|
||||||
from _pytest.fixtures import FixtureRequest
|
from _pytest.fixtures import FixtureRequest
|
||||||
from requests import Session, Response
|
from requests import Session, Response
|
||||||
from requests.sessions import Request
|
from requests.sessions import PreparedRequest
|
||||||
from requests_mock import Mocker
|
from requests_mock import Mocker
|
||||||
|
|
||||||
from fimfarchive.utils import JayWalker
|
from fimfarchive.utils import JayWalker
|
||||||
|
@ -89,7 +89,7 @@ class Recorder(ContextManager['Recorder']):
|
||||||
def __call__(
|
def __call__(
|
||||||
self,
|
self,
|
||||||
session: Session,
|
session: Session,
|
||||||
request: Request,
|
request: PreparedRequest,
|
||||||
**kwargs
|
**kwargs
|
||||||
) -> Response:
|
) -> Response:
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in a new issue