Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update path to Jinja2 templates #180

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions pytest_mpl/summary/html.py
Expand Up @@ -214,7 +214,7 @@ def generate_summary_html(results, results_dir, hash_library=None):

# Initialize Jinja
env = Environment(
loader=PackageLoader("pytest_mpl.summary.html"),
loader=PackageLoader("pytest_mpl.summary", "templates"),
autoescape=select_autoescape()
)

Expand Down Expand Up @@ -254,7 +254,7 @@ def generate_summary_basic_html(results, results_dir, hash_library=None):

# Initialize Jinja
env = Environment(
loader=PackageLoader("pytest_mpl.summary.html"),
loader=PackageLoader("pytest_mpl.summary", "templates"),
autoescape=select_autoescape()
)

Expand Down