Skip to content

Commit 1b5da14

Browse files
committed
doc: improve readme example
1 parent be25b16 commit 1b5da14

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ def test_authentication(iam_server, test_client):
3636
# create a random user on the IAM server
3737
user = iam_server.random_user()
3838

39+
# log the user in and make it consent all the clients
40+
iam_server.login(user)
41+
iam_server.consent(user)
42+
3943
# 1. attempt to access a protected page, returns a redirection to the IAM
4044
res = test_client.get("/protected")
4145

0 commit comments

Comments
 (0)