MCPcopy Create free account
hub / github.com/pallets/flask / test_register_validate_input

Function test_register_validate_input

examples/tutorial/tests/test_auth.py:32–36  ·  view source on GitHub ↗
(client, username, password, message)

Source from the content-addressed store, hash-verified

30 ),
31)
32def test_register_validate_input(client, username, password, message):
33 response = client.post(
34 "/auth/register", data={"username": username, "password": password}
35 )
36 assert message in response.data
37
38
39def test_login(client, auth):

Callers

nothing calls this directly

Calls 1

postMethod · 0.45

Tested by

no test coverage detected