Skip to content

Commit ec197a4

Browse files
authored
fix(e2e): correct return type of _stub_with_token (#1897)
1 parent 21ff5db commit ec197a4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

e2e/python/oidc/oidc_auth_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def _grpc_channel() -> grpc.Channel:
149149
return grpc.insecure_channel(target)
150150

151151

152-
def _stub_with_token(token: str) -> openshell_pb2_grpc.OpenShellStub:
152+
def _stub_with_token(token: str) -> tuple[openshell_pb2_grpc.OpenShellStub, list[tuple[str, str]]]:
153153
"""Create a gRPC stub that injects a Bearer token."""
154154
channel = _grpc_channel()
155155
return openshell_pb2_grpc.OpenShellStub(channel), [

0 commit comments

Comments
 (0)