-def test_transform():
- expected_output_file_path = get_fixture('text', 'asnyk_miedzy_nami_expected.html')
-
- html = WLDocument.from_file(
- get_fixture('text', 'miedzy-nami-nic-nie-bylo.xml')
- ).as_html().get_bytes()
-
- assert_equal(html, open(expected_output_file_path, 'rb').read())
-
-
-@raises(NoDublinCore)
-def test_no_dublincore():
- WLDocument.from_file(
- get_fixture('text', 'asnyk_miedzy_nami_nodc.xml')
- ).as_html()
-