feat: implement scoped dataset catalog and template input drafts
This commit is contained in:
@@ -12,6 +12,7 @@ from app.main import create_app
|
||||
from app.models import Base
|
||||
from app.worldquant import WqClient
|
||||
from tests.ai_fake import fake_model
|
||||
from tests.catalog_fake import catalog_response
|
||||
|
||||
TEST_PASSWORD = "browser-test-password"
|
||||
|
||||
@@ -104,6 +105,9 @@ def create_test_app():
|
||||
)
|
||||
if request.method != "GET":
|
||||
raise AssertionError("Browser acceptance attempted an upstream mutation")
|
||||
catalog = catalog_response(request)
|
||||
if catalog is not None:
|
||||
return catalog
|
||||
if path == "/users/self":
|
||||
return httpx.Response(
|
||||
200,
|
||||
|
||||
Reference in New Issue
Block a user