mirror of
https://github.com/django-components/django-components.git
synced 2025-08-03 22:08:17 +00:00
Replace self.assertEqual() with self.assertHTMLEqual()
This commit is contained in:
parent
6a633c67a8
commit
0cc507fd5d
1 changed files with 1 additions and 1 deletions
|
@ -418,7 +418,7 @@ class ComponentMediaRenderingTests(SimpleTestCase):
|
|||
f"{{% component '{component_name}' variable='value' %}}"
|
||||
)
|
||||
rendered = create_and_process_template_response(template)
|
||||
self.assertEqual(
|
||||
self.assertHTMLEqual(
|
||||
(
|
||||
'<script src="script.js"></script>'
|
||||
'<link href="style.css" media="all" rel="stylesheet">'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue