Skip to content

Commit

Permalink
Fix jinja2 integration test.
Browse files Browse the repository at this point in the history
Now that we're using the actual jinja template backend,
it only instruments a single template.
  • Loading branch information
tim-schilling committed Jul 5, 2024
1 parent 4fd886b commit 6614910
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -622,8 +622,9 @@ def test_basic_jinja(self):

# Click to show the template panel
self.selenium.find_element(By.CLASS_NAME, "TemplatesPanel").click()

self.assertIn("Templates (2 rendered)", template_panel.text)
# This should be 2 templates rendered. See
# JinjaTemplateTestCase.test_django_jinja2_parent_template_instrumented
self.assertIn("Templates (1 rendered)", template_panel.text)
self.assertIn("base.html", template_panel.text)
self.assertIn("jinja2/basic.jinja", template_panel.text)

Expand Down

0 comments on commit 6614910

Please sign in to comment.