Skip to content
Myr

Fix inconsistency in testing doc.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Cyker Way · committed by Cyker Way · parent 7e714bd · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/testing.rst+1 added-1 removed
386 unmodified lines
387 return jsonify(token=generate_token(email, password))388389 with app.test_client() as c:390 rv = c.post('/api/auth', json={391 'username': 'flask', 'password': 'secret'391 'email': 'flask@example.com', 'password': 'secret'392 })393 json_data = rv.get_json()394 assert verify_token(email, json_data['token'])395
61 unmodified lines