This repository was archived by the owner on Aug 22, 2025. It is now read-only.
  
  
  
  
    
    
    
      
    
  
  
    
File tree Expand file tree Collapse file tree 2 files changed +0
-16
lines changed Expand file tree Collapse file tree 2 files changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -49,14 +49,6 @@ async def test_set_auth_valid_token(client: AsyncFunctionsClient):
4949    assert  client .headers ["Authorization" ] ==  f"Bearer { valid_token }  
5050
5151
52- async  def  test_set_auth_invalid_token (client : AsyncFunctionsClient ):
53-     invalid_token  =  "invalid-token" 
54-     with  pytest .raises (
55-         ValueError , match = "token must be a valid JWT authorization token string." 
56-     ):
57-         client .set_auth (invalid_token )
58- 
59- 
6052async  def  test_invoke_success_json (client : AsyncFunctionsClient ):
6153    mock_response  =  Mock (spec = Response )
6254    mock_response .json .return_value  =  {"message" : "success" }
Original file line number Diff line number Diff line change @@ -49,14 +49,6 @@ def test_set_auth_valid_token(client: SyncFunctionsClient):
4949    assert  client .headers ["Authorization" ] ==  f"Bearer { valid_token }  
5050
5151
52- def  test_set_auth_invalid_token (client : SyncFunctionsClient ):
53-     invalid_token  =  "invalid-token" 
54-     with  pytest .raises (
55-         ValueError , match = "token must be a valid JWT authorization token string." 
56-     ):
57-         client .set_auth (invalid_token )
58- 
59- 
6052def  test_invoke_success_json (client : SyncFunctionsClient ):
6153    mock_response  =  Mock (spec = Response )
6254    mock_response .json .return_value  =  {"message" : "success" }
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments