MCPcopy
hub / github.com/pallets/flask / test_login_validate_input

Function test_login_validate_input

examples/tutorial/tests/test_auth.py:59–61  ·  view source on GitHub ↗
(auth, username, password, message)

Source from the content-addressed store, hash-verified

57 (("a", "test", b"Incorrect username."), ("test", "a", b"Incorrect password.")),
58)
59def test_login_validate_input(auth, username, password, message):
60 response = auth.login(username, password)
61 assert message in response.data
62
63
64def test_logout(client, auth):

Callers

nothing calls this directly

Calls 1

loginMethod · 0.80

Tested by

no test coverage detected