def test_unicode_diff(self):
        """Testing SVN (<backend>) parsing diff with unicode characters"""
        diff = (
            'Index: Filé\n'
            '==========================================================='
            '========\n'
            '--- Filé    (revision 4)\n'
            '+++ Filé    (working copy)\n'
            '@@ -1,6 +1,7 @@\n'
            '+# foó\n'
            ' include ../tools/Makefile.base-vars\n'
            ' NAME = misc-docs\n'
            ' OUTNAME = svn-misc-docs\n'
        ).encode('utf-8')

        parsed_files = self.tool.get_parser(diff).parse()
        self.assertEqual(len(parsed_files), 1)

        self.assert_parsed_diff_file(
            parsed_files[0],
            orig_filename='Filé'.encode('utf-8'),
            orig_file_details=b'(revision 4)',
            modified_filename='Filé'.encode('utf-8'),
            modified_file_details=b'(working copy)',
            index_header_value='Filé'.encode('utf-8'),
            insert_count=1,
            data=diff)