File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 88from fastapi import FastAPI
99from fastapi .middleware .cors import CORSMiddleware
1010from pydantic import ValidationError
11+ from rubrix import __version__ as rubrix_version
1112from rubrix .server .commons .errors import (
1213 common_exception_handler ,
1314 validation_exception_handler ,
@@ -88,6 +89,7 @@ def configure_app_security(app: FastAPI):
8889 openapi_url = "/api/docs/spec.json" ,
8990 docs_url = "/api/docs" if api_settings .docs_enabled else None ,
9091 redoc_url = None ,
92+ version = str (rubrix_version ),
9193)
9294
9395for app_configure in [
Original file line number Diff line number Diff line change 1+ from fastapi .testclient import TestClient
2+
3+ from temporal .app import app
4+
5+ client = TestClient (app )
6+
7+
8+ def test_auth0 ():
9+
10+ response = client .get ("/access" )
You can’t perform that action at this time.
0 commit comments