Skip to content

Commit

Permalink
Fix test errors and warnings for latest Datasette
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Mar 1, 2022
1 parent fb38a1d commit 090d9db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[pytest]
asyncio_mode = strict
4 changes: 2 additions & 2 deletions tests/test_dateutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ async def test_dateutil_sql_functions(sql, expected):
app = Datasette([], memory=True).app()
async with httpx.AsyncClient(app=app) as client:
response = await client.get(
"http://localhost/:memory:.json",
"http://localhost/_memory.json",
params={
"sql": sql,
"_shape": "array",
Expand All @@ -80,7 +80,7 @@ async def test_dateutil_unbounded_rrule_error():
app = Datasette([], memory=True).app()
async with httpx.AsyncClient(app=app) as client:
response = await client.get(
"http://localhost/:memory:.json",
"http://localhost/_memory.json",
params={
"sql": "select dateutil_rrule('FREQ=DAILY;INTERVAL=10')",
"_shape": "array",
Expand Down

0 comments on commit 090d9db

Please sign in to comment.