mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Made register_output_renderer callback optionally awaitable, closes #776
This commit is contained in:
parent
52c4387c7d
commit
57f48b8416
4 changed files with 17 additions and 6 deletions
|
|
@ -347,6 +347,7 @@ def test_register_output_renderer_all_parameters(app_client):
|
|||
body = response.body.decode("utf-8")
|
||||
body = at_memory_re.sub(" at 0xXXX", body)
|
||||
assert {
|
||||
"1+1": 2,
|
||||
"datasette": "<datasette.app.Datasette object at 0xXXX>",
|
||||
"columns": [
|
||||
"pk",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue