mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
/dbname-hash now optional: turn on with --config hash_urls:1
This commit is contained in:
parent
9743e1d91b
commit
1ad3ebf2ed
13 changed files with 79 additions and 51 deletions
|
|
@ -73,6 +73,13 @@ def app_client_no_files():
|
|||
yield client
|
||||
|
||||
|
||||
@pytest.fixture(scope="session")
|
||||
def app_client_with_hash():
|
||||
yield from make_app_client(config={
|
||||
'hash_urls': True
|
||||
})
|
||||
|
||||
|
||||
@pytest.fixture(scope='session')
|
||||
def app_client_shorter_time_limit():
|
||||
yield from make_app_client(20)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue