1385
1386
old_path, new_path = diff_obj._prepare_files('file-id', 'oldname',
1387
1388
self.assertContainsRe(old_path, 'old/oldname$')
1389
1390
self.assertContainsRe(new_path, 'tree/newname$')
1390
1391
self.assertFileEqual('oldcontent', old_path)
1391
1392
self.assertFileEqual('newcontent', new_path)