New introspection endpoint: /-/databases - closes #470

Refs #419 and #465
This commit is contained in:
Simon Willison 2019-05-16 07:49:34 -07:00
commit 0dad111d24
4 changed files with 57 additions and 0 deletions

View file

@ -100,6 +100,13 @@ def app_client_two_attached_databases():
)
@pytest.fixture(scope="session")
def app_client_two_attached_databases_one_immutable():
yield from make_app_client(
is_immutable=True, extra_databases={"extra_database.db": EXTRA_DATABASE_SQL}
)
@pytest.fixture(scope="session")
def app_client_with_memory():
yield from make_app_client(memory=True)