Handle databases with spaces in their names

This commit is contained in:
Simon Willison 2019-07-22 18:00:07 -07:00
commit 4fdbeb4924
3 changed files with 13 additions and 0 deletions

View file

@ -215,6 +215,11 @@ def app_client_with_dot():
yield from make_app_client(filename="fixtures.dot.db")
@pytest.fixture(scope="session")
def app_client_with_space():
yield from make_app_client(filename="fixtures with space.db")
@pytest.fixture(scope="session")
def app_client_with_cors():
yield from make_app_client(cors=True)