def test_fragment_to_document(self, fragment):
        return '<html><head></head><body>%s</body></html>' % fragment
See `TreeBuilder`.
dataset/ETHPy150Open akalongman/sublimetext-codeformatter/codeformatter/lib/htmlbeautifier/bs4/builder/_html5lib.py/HTML5TreeBuilder.test_fragment_to_document