def METHOD_NAME(self):
    self.assertEqual(len(crypt._saltchars), 64)
    for method in crypt.methods:
        salt = crypt.mksalt(method)
        self.assertIn(len(salt) - method.salt_chars, {0, 1, 3, 4, 6, 7})
        if method.ident:
            self.assertIn(method.ident, salt[:len(salt)-method.salt_chars])