File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1+ from  unittest .mock  import  patch , Mock 
12import  base64 
23import  json 
3- from  unittest .mock  import  Mock , patch 
44
5- from  src . backend . auth .auth_utils  import  get_authenticated_user_details , get_tenantid 
5+ from  auth .auth_utils  import  get_authenticated_user_details , get_tenantid 
66
77
88def  test_get_authenticated_user_details_with_headers ():
@@ -42,7 +42,7 @@ def test_get_tenantid_with_empty_b64():
4242    assert  tenant_id  ==  "" 
4343
4444
45- @patch ("src.backend. auth.auth_utils.logging.getLogger" , return_value = Mock ()) 
45+ @patch ("auth.auth_utils.logging.getLogger" , return_value = Mock ()) 
4646def  test_get_tenantid_with_invalid_b64 (mock_logger ):
4747    """Test get_tenantid with an invalid base64-encoded string.""" 
4848    invalid_b64  =  "invalid-base64" 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments