mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Update tests for new plugin_hooks.rst, refs #687
This commit is contained in:
parent
c32af6f693
commit
751e7b4af7
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ def test_help_includes(name, filename):
|
|||
"plugin", [name for name in dir(app.pm.hook) if not name.startswith("_")]
|
||||
)
|
||||
def test_plugin_hooks_are_documented(plugin):
|
||||
headings = [s.split("(")[0] for s in get_headings("plugins.rst", "~")]
|
||||
headings = [s.split("(")[0] for s in get_headings("plugin_hooks.rst", "-")]
|
||||
assert plugin in headings
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue