mirror of
https://github.com/JockeTF/fimfarchive.git
synced 2024-11-25 14:37:59 +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
|
||||
from _pytest.fixtures import FixtureRequest
|
||||
from requests import Session, Response
|
||||
from requests.sessions import Request
|
||||
from requests.sessions import PreparedRequest
|
||||
from requests_mock import Mocker
|
||||
|
||||
from fimfarchive.utils import JayWalker
|
||||
|
@ -89,7 +89,7 @@ class Recorder(ContextManager['Recorder']):
|
|||
def __call__(
|
||||
self,
|
||||
session: Session,
|
||||
request: Request,
|
||||
request: PreparedRequest,
|
||||
**kwargs
|
||||
) -> Response:
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue