Skip to content

Commit

Permalink
Update tests for new plugin_hooks.rst, refs #687
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Jun 22, 2020
1 parent c32af6f commit 751e7b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit 751e7b4

Please sign in to comment.