Skip to content

Commit 929cfb5

Browse files
committed
tests: Use *.html.jinja template in tests
Issue-151: mkdocstrings#151
1 parent a8c540e commit 929cfb5

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy