fix: Backend-Start nach Tandoor-Router-Import
Future-annotations plus Limiter haben TandoorProbeIn unauflösbar gemacht. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
d6838abda7
commit
3b46630a37
4 files changed
+16
-4
No files matched your search
@@ -1,6 +1,14 @@
|
||||
from data_layer.tandoor_client import TandoorError, normalize_base_url, public_settings, token_hint
|
||||
|
||||
|
||||
def test_tandoor_router_imports():
|
||||
from routers import tandoor
|
||||
|
||||
paths = {r.path for r in tandoor.router.routes}
|
||||
assert "/api/tandoor/settings" in paths
|
||||
assert "/api/tandoor/test" in paths
|
||||
|
||||
|
||||
def test_normalize_https_strips_slash():
|
||||
assert normalize_base_url("https://tandoor.stommer.de/") == "https://tandoor.stommer.de"
|
||||
|
||||
|
||||
Reference in new issue
Block a user