-@with_setup(None, teardown_transform)
-def test_passing_parse_dublincore_to_transform():
- """Passing parse_dublincore=False to transform omits DublinCore parsing."""
- text.transform(
- open(get_fixture('text', 'asnyk_miedzy_nami_nodc.xml')),
- open(get_fixture('text', 'asnyk_miedzy_nami.txt'), 'w'),
- parse_dublincore=False,
- )
+ with open(expected_output_file_path, 'rb') as f:
+ self.assertEqual(text, f.read().decode('utf-8'))