Skip to content

Commit 6614910

Browse files
committed
Fix jinja2 integration test.
Now that we're using the actual jinja template backend, it only instruments a single template.
1 parent 4fd886b commit 6614910

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/test_integration.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -622,8 +622,9 @@ def test_basic_jinja(self):
622622

623623
# Click to show the template panel
624624
self.selenium.find_element(By.CLASS_NAME, "TemplatesPanel").click()
625-
626-
self.assertIn("Templates (2 rendered)", template_panel.text)
625+
# This should be 2 templates rendered. See
626+
# JinjaTemplateTestCase.test_django_jinja2_parent_template_instrumented
627+
self.assertIn("Templates (1 rendered)", template_panel.text)
627628
self.assertIn("base.html", template_panel.text)
628629
self.assertIn("jinja2/basic.jinja", template_panel.text)
629630

0 commit comments

Comments
 (0)