more formatting

This commit is contained in:
truePhilipp committed 2024-05-05 20:48:28 +02:00
1 parent 42715de295
commit b042a297b5
5 files changed
+55 -5

No files matched your search

+1 -1
View File
@@ -17,4 +17,4 @@ class BlockTests(TestCase):
def test_with_block_inside(self):
soup = BeautifulSoup('<div dj-block="content"><div dj-block="inner">Test</div></div>', "html.parser")
block_formatter.format(soup)
self.assertEqual("{% block content %}{% block inner %}Test{% endblock %}{% endblock %}", str(soup))
self.assertEqual("{% block content %}{% block inner %}Test{% endblock %}{% endblock %}", str(soup))