Skip to content

Commit

Permalink
Fix coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
GrandMoff100 committed Dec 22, 2024
1 parent 5eb95af commit 55ce0d1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,3 +204,8 @@ def test_exception_response_error() -> None:
def test_exception_unexpected_status_code() -> None:
with pytest.raises(UnexpectedStatusCodeError):
Processing(make_response(0, "", {})).process()


def test_unkown_scheme(cached_client: Client) -> None:
with pytest.raises(ValueError):
cached_client.request("ftp://example.com")

0 comments on commit 55ce0d1

Please sign in to comment.