Skip to content

Commit d888dc4

Browse files
committed
fix: type error
1 parent e7a7a08 commit d888dc4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pytest_iam/__init__.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,12 @@
1717
from canaille.core.models import User
1818
from canaille.core.populate import fake_groups
1919
from canaille.core.populate import fake_users
20+
from canaille.oidc.basemodels import Client
2021
from canaille.oidc.basemodels import Token
2122
from flask import Flask
2223
from flask import g
2324
from joserfc.jwk import JWKRegistry
24-
from werkzeug.test import Client
25+
from werkzeug.test import Client as TestClient
2526

2627

2728
class Server:
@@ -33,7 +34,7 @@ class Server:
3334
app: Flask
3435
"""The authorization server flask app."""
3536

36-
test_client: Client
37+
test_client: TestClient
3738
"""A test client to interact with the IAM without performing real network requests."""
3839

3940
models: ModuleType

0 commit comments

Comments
 (0)