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 @@ -1970,17 +1970,17 @@ def test_md5_algorithm(self):
19701970        H , KD  =  self .handler .get_algorithm_impls ('MD5' )
19711971        self .assertEqual (H ("foo" ), "acbd18db4cc2f85cedef654fccc4a4d8" )
19721972        self .assertEqual (KD ("foo" , "bar" ), "4e99e8c12de7e01535248d2bac85e732" )
1973-          
1973+ 
19741974    def  test_sha_algorithm (self ):
19751975        H , KD  =  self .handler .get_algorithm_impls ('SHA' )
19761976        self .assertEqual (H ("foo" ), "0beec7b5ea3f0fdbc95d0dd47f3c5bc275da8a33" )
19771977        self .assertEqual (KD ("foo" , "bar" ), "54dcbe67d21d5eb39493d46d89ae1f412d3bd6de" )
1978-          
1978+ 
19791979    def  test_sha256_algorithm (self ):
19801980        H , KD  =  self .handler .get_algorithm_impls ('SHA-256' )
19811981        self .assertEqual (H ("foo" ), "2c26b46b68ffc68ff99b453c1d30413413422d706483bfa0f98a5e886266e7ae" )
19821982        self .assertEqual (KD ("foo" , "bar" ), "a765a8beaa9d561d4c5cbed29d8f4e30870297fdfa9cb7d6e9848a95fec9f937" )
1983-          
1983+ 
19841984    def  test_invalid_algorithm (self ):
19851985        with  self .assertRaises (ValueError ) as  exc :
19861986            self .handler .get_algorithm_impls ('invalid' )
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments