def test_hash_and_check_password(self): hashed_password = hash_password('42') self.assertEqual(check_password(hashed_password, '42'), True)
def test_hash_password(self): hashed_password = hash_password('42') self.assertEqual(len(hashed_password), 97)