(client, db)
| 13 | |
| 14 | @pytest.fixture(autouse=True) |
| 15 | def client(client, db): |
| 16 | client.set_client_metadata( |
| 17 | { |
| 18 | "redirect_uris": ["https://client.test/authorized"], |
| 19 | "scope": "profile", |
| 20 | "response_types": ["token"], |
| 21 | "grant_types": ["implicit"], |
| 22 | "token_endpoint_auth_method": "none", |
| 23 | } |
| 24 | ) |
| 25 | db.session.add(client) |
| 26 | db.session.commit() |
| 27 | return client |
| 28 | |
| 29 | |
| 30 | def test_get_authorize(test_client): |
nothing calls this directly
no test coverage detected