Beispiel #1
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)
 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)