def test_windows_1252(self): self.assertListEqual( list(codecs.open(convert_to_utf_8('test/test_files/encoding/windows-1252.txt'), 'r', 'utf-8')), list(codecs.open(self.reference_file_name, 'r', 'utf-8')) )
def test_utf_32be(self): self.assertListEqual( list(codecs.open(convert_to_utf_8('test/test_files/encoding/utf-32be.txt'), 'r', 'utf-8')), list(codecs.open(self.reference_file_name, 'r', 'utf-8')) )