Skip to content

Commit 0ed93b0

Browse files
committed
tests: Use *.html.jinja template in tests
Issue-151: #151
1 parent 9c98553 commit 0ed93b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def test_render_docstring_examples_section(handler: PythonHandler) -> None:
6262
(DocstringSectionKind.examples, ">>> print('Hello')\nHello"),
6363
],
6464
)
65-
template = handler.env.get_template("docstring/examples.html")
65+
template = handler.env.get_template("docstring/examples.html.jinja")
6666
rendered = template.render(section=section, locale="en")
6767
template.render(section=section, locale="not_existing")
6868
assert "<p>This is an example.</p>" in rendered

0 commit comments

Comments
 (0)