1246
1246
self.addCleanup(diff_obj.finish)
1247
1247
self.assertEqual(['diff', '%(old_path)s', '%(new_path)s'],
1248
1248
diff_obj.command_template)
1249
1251
diff_obj = DiffFromTool.from_string('diff -u\\ 5', None, None, None)
1250
1253
self.assertEqual(['diff', '-u 5', '%(old_path)s', '%(new_path)s'],
1251
1254
diff_obj.command_template)
1252
1255
self.assertEqual(['diff', '-u 5', 'old-path', 'new-path'],