Skip to content

Commit a7ad0f5

Browse files
committed
Fix mypy issue
1 parent 2854331 commit a7ad0f5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/unit/test_network_rfc9457.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,10 @@ def test_parses_valid_problem_details(self) -> None:
9191
assert problem is not None
9292
assert problem.status == 404
9393
assert problem.title == "Not Found"
94+
assert problem.detail is not None
9495
assert "test-package" in problem.detail
9596

97+
9698
def test_returns_none_for_non_problem_details(self) -> None:
9799
resp = MockResponse(b"<html>Error</html>")
98100
resp.headers = {"Content-Type": "text/html"}

0 commit comments

Comments
 (0)