Skip to content

Commit 3eca90a

Browse files
committed
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Implement RFC7617-compliant multi-domain basic authentication
1 parent d53e8b1 commit 3eca90a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/test_network_auth.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def test_handle_prompt_for_password_successful() -> None:
6666
resp.content = ""
6767
resp.request = PreparedRequest()
6868
resp.request.headers = {}
69-
auth._prompt_for_password = Mock()
69+
auth._prompt_for_password = Mock() # type: ignore[assignment]
7070
auth._prompt_for_password.return_value = ("user", "password", True)
7171
auth.handle_401(resp)
7272
auth._prompt_for_password.assert_called_with("example.com")
@@ -85,7 +85,7 @@ def test_handle_prompt_for_password_unsuccessful() -> None:
8585
resp.content = ""
8686
resp.request = PreparedRequest()
8787
resp.request.headers = {}
88-
auth._prompt_for_password = Mock()
88+
auth._prompt_for_password = Mock() # type: ignore[assignment]
8989
auth._prompt_for_password.return_value = (None, None, False)
9090
auth.handle_401(resp)
9191
auth._prompt_for_password.assert_called_with("example.com")

0 commit comments

Comments
 (0)