diff --git a/laces/tests/test_templatetags/test_laces.py b/laces/tests/test_templatetags/test_laces.py index 123e4b9..6778369 100644 --- a/laces/tests/test_templatetags/test_laces.py +++ b/laces/tests/test_templatetags/test_laces.py @@ -1,5 +1,10 @@ +import os +import random + +from pathlib import Path from unittest.mock import Mock +from django.conf import settings from django.template import Context, Template from django.test import SimpleTestCase from django.utils.html import format_html @@ -46,7 +51,7 @@ def test_render_html_return_in_parent_template(self): # This matches the return value of the `render_html` method. self.assertEqual(result, "Before Rendered HTML After") - def test_render_html_return_in_parent_template_is_escaped(self): + def test_render_html_return_is_escaped(self): self.component.render_html.return_value = ( "Look, I'm running with scissors! 8< 8< 8<" ) @@ -71,6 +76,29 @@ def test_render_html_return_not_escaped_when_formatted_html(self): self.assertEqual(result, "