def test_get_hash_method(self):
     hash_dict = signature_utils.HASH_METHODS
     for hash_name in hash_dict.keys():
         hash_class = signature_utils.get_hash_method(hash_name).__class__
         self.assertIsInstance(hash_dict[hash_name], hash_class)
예제 #2
0
 def test_get_hash_method(self):
     hash_dict = signature_utils.HASH_METHODS
     for hash_name in hash_dict.keys():
         hash_class = signature_utils.get_hash_method(hash_name).__class__
         self.assertIsInstance(hash_dict[hash_name], hash_class)