We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c6e080 commit 30adccaCopy full SHA for 30adcca
doc/client-applications.rst
@@ -13,6 +13,22 @@ pytest-iam will help you set up some of those scenarios in your tests.
13
Setting up your test
14
--------------------
15
16
+Start by configuring your application so it uses pytest-iam as identity provider.
17
+This would probably be something in the fashion of:
18
+
19
+.. code:: python
20
+ :caption: conftest.py
21
22
+ @pytest.fixture
23
+ def app(iam_server):
24
+ return create_app(
25
+ config={
26
+ "SERVER_NAME": "myclient.test",
27
+ "SECRET_KEY": str(uuid.uuid4()),
28
+ "OAUTH_SERVER": iam_server.url,
29
+ }
30
+ )
31
32
Users & groups
33
~~~~~~~~~~~~~~
34
0 commit comments