File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -673,7 +673,10 @@ def test_external_check_blocked_user_agent_blocked_head(self):
673673 self .assertEqual (uv .redirect_to , '' )
674674 self .assertEqual (uv .type , 'external' )
675675
676- @patch ('linkcheck.models.PROXIES' , {'http' : 'http://proxy.example.com:8080' })
676+ @patch (
677+ 'linkcheck.models.PROXIES' ,
678+ {'http' : 'http://proxy.example.com:8080' },
679+ )
677680 @patch ('requests.head' )
678681 def test_external_proxy_request (self , mock_head ):
679682 mock_response = Mock ()
@@ -690,7 +693,10 @@ def test_external_proxy_request(self, mock_head):
690693 mock_head .assert_called_once ()
691694 (call_url ,), call_kwargs = mock_head .call_args
692695 self .assertEqual (call_url , request_url )
693- self .assertEqual (call_kwargs .get ('proxies' ), {'http' : 'http://proxy.example.com:8080' })
696+ self .assertEqual (
697+ call_kwargs .get ('proxies' ),
698+ {'http' : 'http://proxy.example.com:8080' },
699+ )
694700
695701 def test_external_check_timedout (self ):
696702 uv = Url (url = f"{ self .live_server_url } /timeout/" )
You can’t perform that action at this time.
0 commit comments