# Path: draftjs_exporter/engines/html5lib.py
# class DOM_HTML5LIB(DOMEngine):
#     """
#     html5lib implementation of the DOM API.
#     """
# 
#     @staticmethod
#     def create_tag(type_: Tag, attr: Optional[Attr] = None) -> Element:
#         if not attr:
#             attr = {}
# 
#         return soup.new_tag(type_, **attr)
# 
#     @staticmethod
#     def parse_html(markup: HTML) -> Element:
#         return BeautifulSoup(markup, "html5lib")
# 
#     @staticmethod
#     def append_child(elt: Element, child: Element) -> None:
#         elt.append(child)
# 
#     @staticmethod
#     def render(elt: Element) -> HTML:
#         return RENDER_RE.sub("", str(elt))
# 
#     @staticmethod
#     def render_debug(elt: Element) -> HTML:
#         return RENDER_DEBUG_RE.sub("", str(elt))


import unittest
from draftjs_exporter.engines.html5lib import DOM_HTML5LIB
# -*- coding: utf-8 -*-



class TestDOM_HTML5LIB(unittest.TestCase):
    def test_create_tag(self):
        self.assertEqual(

# Path: draftjs_exporter/engines/html5lib.py
# class DOM_HTML5LIB(DOMEngine):
#     """
#     html5lib implementation of the DOM API.
#     """
# 
#     @staticmethod
#     def create_tag(type_: Tag, attr: Optional[Attr] = None) -> Element:
#         if not attr:
#             attr = {}
# 
#         return soup.new_tag(type_, **attr)
# 
#     @staticmethod
#     def parse_html(markup: HTML) -> Element:
#         return BeautifulSoup(markup, "html5lib")
# 
#     @staticmethod
#     def append_child(elt: Element, child: Element) -> None:
#         elt.append(child)
# 
#     @staticmethod
#     def render(elt: Element) -> HTML:
#         return RENDER_RE.sub("", str(elt))
# 
#     @staticmethod
#     def render_debug(elt: Element) -> HTML:
#         return RENDER_DEBUG_RE.sub("", str(elt))


# Path: tests/engines/test_engines_html5lib.py
import unittest
from draftjs_exporter.engines.html5lib import DOM_HTML5LIB

# -*- coding: utf-8 -*-



class TestDOM_HTML5LIB(unittest.TestCase):
    def test_create_tag(self):
        self.assertEqual(

            DOM_HTML5LIB.render_debug(