Skip to content

Commit

Permalink
tests: Use *.html.jinja template in tests
Browse files Browse the repository at this point in the history
Issue-151: #151
  • Loading branch information
pawamoy committed Apr 28, 2024
1 parent c108109 commit bfdd638
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def test_render_docstring_examples_section(handler: PythonHandler) -> None:
(DocstringSectionKind.examples, ">>> print('Hello')\nHello"),
],
)
template = handler.env.get_template("docstring/examples.html")
template = handler.env.get_template("docstring/examples.html.jinja")
rendered = template.render(section=section, locale="en")
template.render(section=section, locale="not_existing")
assert "<p>This is an example.</p>" in rendered
Expand Down

0 comments on commit bfdd638

Please sign in to comment.