Skip to content

Commit 2994ec7

Browse files
authored
fix: type errors in mypy test (#50)
Fix type errors in mypy test. Signed-off-by: Roald Nefs <[email protected]>
1 parent 65fb3bd commit 2994ec7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

tests/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ def _get_responses_method(method: str) -> str:
6161
matchers: List[Any] = []
6262
if fixture.get('match_json_params'):
6363
matchers.append(
64-
responses.json_params_matcher(fixture['match_json_params'])
64+
responses.json_params_matcher(fixture['match_json_params']) # type: ignore
6565
)
6666
if fixture.get('match_urlencoded_params'):
6767
matchers.append(
68-
responses.urlencoded_params_matcher(
68+
responses.urlencoded_params_matcher( # type: ignore
6969
fixture['match_urlencoded_params']
7070
)
7171
)

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ deps =
1212
pytest
1313
flake8
1414
responses
15+
types-requests
1516
commands =
1617
pytest tests {posargs}
1718
mypy --config-file=tox.ini transip tests

0 commit comments

Comments
 (0)