def test_verify_password__False2(self):
        from usersvc.lib.users import verify_password
        password_digest = '$2a$10$AhRiWLpCq0BRzo8an56ysuzqc/sgd00vsaNk/A/m0MxlvFGqBBAQy'
        
        result = verify_password('hello2', password_digest)

        assert result == False
Exemple #2
0
 def verify_password(self, password):
     return verify_password(password, self.password_digest)