more formatting
This commit is contained in:
1 parent
42715de295
commit
b042a297b5
5 files changed
+55
-5
No files matched your search
@@ -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))
|
||||
Reference in new issue
Block a user