File fail of Package python-lxml
[ 3825s] =================================== FAILURES ===================================
[ 3825s] _______________________ TemplateTagsTestCase.test_simple _______________________
[ 3825s]
[ 3825s] self = <weblate.accounts.tests.test_templatetags.TemplateTagsTestCase testMethod=test_simple>
[ 3825s]
[ 3825s] def test_simple(self) -> None:
[ 3825s] template = Template("""
[ 3825s] {% load site_url %}
[ 3825s] <html><body>
[ 3825s] {% filter add_site_url %}
[ 3825s] text:
[ 3825s] <a href="/foo"><span>Foo</span></a>
[ 3825s]
[ 3825s] {% endfilter %}
[ 3825s] </body>
[ 3825s] </html>
[ 3825s] """)
[ 3825s] > self.assertHTMLEqual(
[ 3825s] """
[ 3825s] <html>
[ 3825s] <body>
[ 3825s] <p>
[ 3825s] text:
[ 3825s] <a href="http://example.com/foo">
[ 3825s] <span>
[ 3825s] Foo
[ 3825s] </span>
[ 3825s] </a>
[ 3825s] </p>
[ 3825s] </body>
[ 3825s] </html>
[ 3825s] """,
[ 3825s] template.render(Context()),
[ 3825s] )
[ 3825s] E AssertionError: <html>
[ 3825s] E <body>
[ 3825s] E <p>
[ 3825s] E text:<a href="http://example.com/foo">
[ 3825s] E <span>
[ 3825s] E Foo
[ 3825s] E </span>
[ 3825s] E </a> [truncated]... != <html>
[ 3825s] E <body>
[ 3825s] E <a href="http://example.com/foo">
[ 3825s] E <span>
[ 3825s] E Foo
[ 3825s] E </span>
[ 3825s] E </a>
[ 3825s] E </body>
[ 3825s] E [truncated]...
[ 3825s] E <html>
[ 3825s] E <body>
[ 3825s] E - <p>
[ 3825s] E - text:<a href="http://example.com/foo">
[ 3825s] E ? -----
[ 3825s] E
[ 3825s] E + <a href="http://example.com/foo">
[ 3825s] E <span>
[ 3825s] E Foo
[ 3825s] E </span>
[ 3825s] E </a>
[ 3825s] E - </p>
[ 3825s] E </body>
[ 3825s] E </html>
[ 3825s]
[ 3825s] weblate/accounts/tests/test_templatetags.py:24: AssertionError