mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Workaround for cwd bug
Based on https://github.com/pytest-dev/pytest/issues/1235#issuecomment-175295691
This commit is contained in:
parent
e06e083240
commit
109c2e26b0
2 changed files with 16 additions and 1 deletions
|
|
@ -191,7 +191,7 @@ def test_plugins_asgi_wrapper(app_client):
|
|||
assert "fixtures" == response.headers["x-databases"]
|
||||
|
||||
|
||||
def test_plugins_extra_template_vars():
|
||||
def test_plugins_extra_template_vars(restore_working_directory):
|
||||
for client in make_app_client(
|
||||
template_dir=str(pathlib.Path(__file__).parent / "test_templates")
|
||||
):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue