Skip to content

Commit

Permalink
Fixed test for Datasette 1.0a13
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Mar 14, 2024
1 parent c87b355 commit 4cce953
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_configure_fts.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,9 @@ async def test_table_actions(db_path, authenticate):
cookies = {"ds_actor": ds.sign({"a": {"id": "root"}}, "actor")}
response = await ds.client.get("/data/creatures", cookies=cookies)
assert response.status_code == 200
fragment = '<li><a href="/-/configure-fts/data?table=creatures">Configure full-text search</a></li>'
fragment = (
'<li><a href="/-/configure-fts/data?table=creatures">Configure full-text search'
)
if authenticate:
# Should have column actions
assert fragment in response.text
Expand Down

0 comments on commit 4cce953

Please sign in to comment.