• Home
  • Raw
  • Download

Lines Matching full:patch

31     @mock.patch.object(
34 @mock.patch.object(subprocess, "call", side_effect=_fail_command)
39 @mock.patch.object(
44 @mock.patch.object(
47 @mock.patch.object(subprocess, "call", return_value=0)
51 @mock.patch.object(
56 @mock.patch.object(
59 @mock.patch.object(subprocess, "call", return_value=0)
63 @mock.patch.object(
68 @mock.patch.object(
71 @mock.patch.object(subprocess, "call", return_value=0)
149 @mock.patch.object(subprocess, "check_call")
164 @mock.patch.object(subprocess, "check_call")
194 obj = rust_uprev.RustVersion(major=1, minor=2, patch=3)
198 expected = rust_uprev.RustVersion(major=1, minor=2, patch=3)
203 expected = rust_uprev.RustVersion(major=1, minor=2, patch=3)
228 @mock.patch.object(
233 @mock.patch.object(rust_uprev, "find_ebuild_path")
234 @mock.patch.object(rust_uprev, "get_command_output")
250 @mock.patch.object(
255 @mock.patch.object(
260 @mock.patch.object(rust_uprev, "get_command_output")
270 @mock.patch.object(rust_uprev, "find_ebuild_path")
271 @mock.patch.object(os.path, "exists")
272 @mock.patch.object(rust_uprev, "get_command_output")
291 @mock.patch.object(
296 @mock.patch.object(os.path, "exists")
297 @mock.patch.object(rust_uprev, "get_command_output")
336 with mock.patch("builtins.open", mock_open):
347 with mock.patch("builtins.open", mock_open):
361 @mock.patch.object(rust_uprev, "ebuild_actions")
375 with tempfile.TemporaryDirectory() as tmpdir_str, mock.patch.object(
434 with mock.patch("builtins.open", mock_open):
453 with mock.patch("builtins.open", mock_open):
473 @mock.patch.object(shutil, "copyfile")
474 @mock.patch.object(os, "listdir")
475 @mock.patch.object(subprocess, "check_call")
478 f"rust-{self.old_version}-patch-1.patch",
479 f"rust-{self.old_version}-patch-2-old.patch",
480 f"rust-{self.current_version}-patch-1.patch",
481 f"rust-{self.current_version}-patch-2-new.patch",
492 f"rust-{self.current_version}-patch-1.patch",
497 f"rust-{self.new_version}-patch-1.patch",
504 f"rust-{self.current_version}-patch-2-new.patch",
509 f"rust-{self.new_version}-patch-2-new.patch",
515 ["git", "add", f"rust-{self.new_version}-*.patch"],
519 @mock.patch.object(shutil, "copyfile")
520 @mock.patch.object(subprocess, "check_call")
535 @mock.patch.object(shutil, "copyfile")
536 @mock.patch.object(subprocess, "check_call")
553 @mock.patch.object(rust_uprev, "find_ebuild_for_package")
554 @mock.patch.object(subprocess, "check_call")
570 f"rust-bootstrap-{self.old_version}-*.patch",
584 @mock.patch.object(subprocess, "check_call")
592 with mock.patch("rust_uprev.EBUILD_PREFIX", Path(tmpdir)):
598 @mock.patch.object(subprocess, "check_call")
610 with mock.patch("rust_uprev.EBUILD_PREFIX", Path(tmpdir)):
626 @mock.patch.object(rust_uprev, "find_ebuild_path")
627 @mock.patch.object(shutil, "copyfile")
628 @mock.patch.object(subprocess, "check_call")
644 @mock.patch.object(os, "listdir")
656 @mock.patch.object(os, "listdir")
667 @mock.patch.object(rust_uprev, "get_command_output")
668 @mock.patch.object(git, "CreateBranch")
676 @mock.patch.object(rust_uprev, "get_command_output")
677 @mock.patch.object(subprocess, "check_call")
688 with mock.patch("builtins.open", mock_open):