def METHOD_NAME(self):
    cr = crypt.crypt('mypassword')
    cr2 = crypt.crypt('mypassword', cr)
    self.assertEqual(cr2, cr)
    cr = crypt.crypt('mypassword', 'ab')
    if cr is not None:
        cr2 = crypt.crypt('mypassword', cr)
        self.assertEqual(cr2, cr)