from unittest import TestCase
from bs4 import BeautifulSoup
from html_to_django.formatters import static_formatter
class StaticTests(TestCase):
def test_basic(self) -> None:
soup = BeautifulSoup('', "html.parser")
static_formatter.format(soup)
expected_result = '
'
self.assertEqual(expected_result, str(soup))
def test_with_content(self) -> None:
soup = BeautifulSoup('