-@with_setup(None, teardown_transform)
-def test_passing_parse_dublincore_to_transform():
- """Passing parse_dublincore=False to transform omits DublinCore parsing."""
- html.transform(
- get_fixture('text', 'asnyk_miedzy_nami_nodc.xml'),
- get_fixture('text', 'asnyk_miedzy_nami.html'),
- parse_dublincore=False,
- )
+ def test_empty(self):
+ self.assertIsNone(
+ WLDocument(
+ filename=io.BytesIO(b'<utwor />'),
+ ).build(builders['html'], base_url='/')
+ )