def test_new_unix_mode(self):
        """Testing FileDiff.new_unix_mode"""
        filediff = self.create_filediff(self.diffset)
        filediff.new_unix_mode = '0100750'

        self.assertEqual(filediff.new_unix_mode, '0100750')
        self.assertEqual(filediff.extra_data.get('new_unix_mode'), '0100750')