(client, db)
| 28 | |
| 29 | @pytest.fixture(autouse=True) |
| 30 | def client(client, db): |
| 31 | client.set_client_metadata( |
| 32 | { |
| 33 | "redirect_uris": ["https://client.test"], |
| 34 | "scope": "openid profile address", |
| 35 | "response_types": ["code"], |
| 36 | "grant_types": ["authorization_code"], |
| 37 | } |
| 38 | ) |
| 39 | db.session.add(client) |
| 40 | db.session.commit() |
| 41 | return client |
| 42 | |
| 43 | |
| 44 | @pytest.fixture(autouse=True) |
nothing calls this directly
no test coverage detected