Change the order of arguments in assertHTMLEqual()

This commit is contained in:
Roman Imankulov 2023-09-28 22:38:55 +01:00 committed by Emil Stenström
parent 0cc507fd5d
commit 16826f45f9

View file

@ -419,10 +419,10 @@ class ComponentMediaRenderingTests(SimpleTestCase):
)
rendered = create_and_process_template_response(template)
self.assertHTMLEqual(
rendered,
(
'<script src="script.js"></script>'
'<link href="style.css" media="all" rel="stylesheet">'
"Variable: <strong>value</strong>\n"
),
rendered,
)