Remove fail_if_plugins_in_metadata, part of #2248

This commit is contained in:
Simon Willison 2024-02-01 14:44:16 -08:00
commit d4bc2b2dfc
4 changed files with 3 additions and 31 deletions

View file

@ -883,14 +883,6 @@ def test_hook_forbidden(restore_working_directory):
)
def test_plugin_config_in_metadata():
with pytest.raises(
Exception,
match="Datasette no longer accepts plugin configuration in --metadata",
):
Datasette(memory=True, metadata={"plugins": {}})
@pytest.mark.asyncio
async def test_hook_handle_exception(ds_client):
await ds_client.get("/trigger-error?x=123")