Skip to content

Commit

Permalink
refactor: Improve test_validate_schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Stranger6667 committed Dec 11, 2019
1 parent e94c6a0 commit 200cc54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/cli/test_callbacks.py
Expand Up @@ -14,7 +14,7 @@
@example("0" * 1000)
def test_validate_schema(value):
with pytest.raises(click.UsageError):
callbacks.validate_schema(None, None, value)
callbacks.validate_schema(SimpleNamespace(params={}), None, value)


def test_validate_schema_path_without_base_url():
Expand Down

0 comments on commit 200cc54

Please sign in to comment.