def test_svn(self): diff = patch_path_filter.convert_to_patch_compatible_diff('chrome/file.cc', RAW.PATCH) self._verify_diff(diff)
def test_git_from_rietveld(self): data = 'Index: chrome/file.cc\n' + GIT.PATCH diff = patch_path_filter.convert_to_patch_compatible_diff('chrome/file.cc', data) self._verify_diff(diff)