Skip to content

Commit

Permalink
fix: type errors in mypy test (#50)
Browse files Browse the repository at this point in the history
Fix type errors in mypy test.

Signed-off-by: Roald Nefs <[email protected]>
  • Loading branch information
roaldnefs authored Nov 1, 2021
1 parent 65fb3bd commit 2994ec7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ def _get_responses_method(method: str) -> str:
matchers: List[Any] = []
if fixture.get('match_json_params'):
matchers.append(
responses.json_params_matcher(fixture['match_json_params'])
responses.json_params_matcher(fixture['match_json_params']) # type: ignore
)
if fixture.get('match_urlencoded_params'):
matchers.append(
responses.urlencoded_params_matcher(
responses.urlencoded_params_matcher( # type: ignore
fixture['match_urlencoded_params']
)
)
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ deps =
pytest
flake8
responses
types-requests
commands =
pytest tests {posargs}
mypy --config-file=tox.ini transip tests
Expand Down

0 comments on commit 2994ec7

Please sign in to comment.