File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ def test_handle_prompt_for_password_successful() -> None:
66
66
resp .content = ""
67
67
resp .request = PreparedRequest ()
68
68
resp .request .headers = {}
69
- auth ._prompt_for_password = Mock ()
69
+ auth ._prompt_for_password = Mock () # type: ignore[assignment]
70
70
auth ._prompt_for_password .return_value = ("user" , "password" , True )
71
71
auth .handle_401 (resp )
72
72
auth ._prompt_for_password .assert_called_with ("example.com" )
@@ -85,7 +85,7 @@ def test_handle_prompt_for_password_unsuccessful() -> None:
85
85
resp .content = ""
86
86
resp .request = PreparedRequest ()
87
87
resp .request .headers = {}
88
- auth ._prompt_for_password = Mock ()
88
+ auth ._prompt_for_password = Mock () # type: ignore[assignment]
89
89
auth ._prompt_for_password .return_value = (None , None , False )
90
90
auth .handle_401 (resp )
91
91
auth ._prompt_for_password .assert_called_with ("example.com" )
You can’t perform that action at this time.
0 commit comments