Skip to content

Commit

Permalink
Fix mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry.dygalo committed Sep 26, 2019
1 parent 0ce4628 commit 033ed80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/schemathesis/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def not_a_server_error(response: requests.Response) -> None:
assert response.status_code < 500


def execute(schema_uri: str, checks=(not_a_server_error,)) -> None:
def execute(schema_uri: str, checks: Iterator[Callable] = (not_a_server_error,)) -> None:
"""Generate and run test cases against the given API definition."""
with requests.Session() as session:
schema = from_uri(schema_uri)
Expand Down

0 comments on commit 033ed80

Please sign in to comment.