From 751e7b4af7e6ae73d173d38fd5b097673c2169f6 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Sun, 21 Jun 2020 19:41:07 -0700 Subject: [PATCH] Update tests for new plugin_hooks.rst, refs #687 --- tests/test_docs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_docs.py b/tests/test_docs.py index 09c00ddf..d89ae71d 100644 --- a/tests/test_docs.py +++ b/tests/test_docs.py @@ -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