diff --git a/laces/tests/test_templatetags/test_laces.py b/laces/tests/test_templatetags/test_laces.py index 46c58f8..e957b73 100644 --- a/laces/tests/test_templatetags/test_laces.py +++ b/laces/tests/test_templatetags/test_laces.py @@ -38,7 +38,7 @@ def render_parent_template_with_context(self, context: dict): return self.parent_template.render(Context(context)) def assertRenderHTMLCalledWith(self, context: dict): - self.assertTrue(self.component.render_html.called_with(Context(context))) + self.component.render_html.assert_called_with(Context(context)) def test_render_html_return_in_parent_template(self): self.assertEqual(self.component.render_html(), "Rendered HTML")