def test_verify_wrong_password(): """ with the credentials file try to verify wrong password combination. """ with app.app_context(): assert auth.verify_pw("winnie", "pooh") == False
def test_verify_correct_password(): """ with the credentials file try to verify correct password combination """ with app.app_context(): assert auth.verify_pw(username, password) == True