Home | History | Annotate | Download | only in test

Lines Matching refs:method

15         for method in crypt.methods:
16 salt = crypt.mksalt(method)
18 method.salt_chars + (3 if method.ident else 0))
21 for method in crypt.methods:
22 pw = crypt.crypt('assword', method)
23 self.assertEqual(len(pw), method.total_size)
24 pw = crypt.crypt('assword', crypt.mksalt(method))
25 self.assertEqual(len(pw), method.total_size)
28 # Guarantee that METHOD_CRYPT is the last method in crypt.methods.