mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
New app_client_base_url_prefix fixture
This commit is contained in:
parent
d3e9b0aecb
commit
29a977a74e
2 changed files with 36 additions and 31 deletions
|
|
@ -159,6 +159,12 @@ def app_client_no_files():
|
|||
yield TestClient(ds)
|
||||
|
||||
|
||||
@pytest.fixture(scope="session")
|
||||
def app_client_base_url_prefix():
|
||||
with make_app_client(config={"base_url": "/prefix/"}) as client:
|
||||
yield client
|
||||
|
||||
|
||||
@pytest.fixture(scope="session")
|
||||
def app_client_two_attached_databases():
|
||||
with make_app_client(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue