Fix type error in requests mocking fixture

This commit is contained in:
Joakim Soderlund 2020-10-31 15:31:20 +01:00
parent c1f05474d7
commit 76ec61c44f

View file

@ -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:
"""