diff --git a/laces/tests/test_templatetags/test_laces.py b/laces/tests/test_templatetags/test_laces.py index 08bdc0b..1e18770 100644 --- a/laces/tests/test_templatetags/test_laces.py +++ b/laces/tests/test_templatetags/test_laces.py @@ -41,8 +41,8 @@ def assertRenderHTMLCalledWith(self, context: dict): self.assertTrue(self.component.render_html.called_with(Context(context))) def test_render_html_return_in_parent_template(self): - self.set_parent_template("Before {% component my_component %} After") self.assertEqual(self.component.render_html(), "Rendered HTML") + self.set_parent_template("Before {% component my_component %} After") result = self.render_parent_template_with_context( {"my_component": self.component},