mirror of
https://github.com/simonw/datasette.git
synced 2026-09-04 15:44:08 +02:00
Apply ruff 0.16 and black fixes
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012U7coQfVu8nK2R4q2mCULA
This commit is contained in:
parent
5e7d2ef5bc
commit
74c898ab3c
1 changed files with 3 additions and 4 deletions
|
|
@ -283,10 +283,9 @@ async def test_asgi_wrapper_runs_after_startup_fallback_path():
|
|||
def wrap(app):
|
||||
async def check_startup(scope, receive, send):
|
||||
if scope["type"] == "http":
|
||||
assert datasette._startup_invoked is True, (
|
||||
"asgi_wrapper saw an http scope before startup "
|
||||
"completed"
|
||||
)
|
||||
assert (
|
||||
datasette._startup_invoked is True
|
||||
), "asgi_wrapper saw an http scope before startup completed"
|
||||
await app(scope, receive, send)
|
||||
|
||||
return check_startup
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue