| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent e9d48cf commit 27ed490
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -625,17 +625,6 @@ def transfer(self, to_namespace: Union[int, str], **kwargs: Any) -> None: | |||
| 625 | 625 | path, post_data={"namespace": to_namespace}, **kwargs | |
| 626 | 626 | ) | |
| 627 | 627 | ||
| 628 | - @cli.register_custom_action("Project", ("to_namespace",)) | ||
| 629 | - def transfer_project(self, *args: Any, **kwargs: Any) -> None: | ||
| 630 | - utils.warn( | ||
| 631 | - message=( | ||
| 632 | - "The project.transfer_project() method is deprecated and will be " | ||
| 633 | - "removed in a future version. Use project.transfer() instead." | ||
| 634 | - ), | ||
| 635 | - category=DeprecationWarning, | ||
| 636 | - ) | ||
| 637 | - return self.transfer(*args, **kwargs) | ||
| 638 | - | ||
| 639 | 628 | @cli.register_custom_action("Project", ("ref_name", "artifact_path", "job")) | |
| 640 | 629 | @exc.on_http_error(exc.GitlabGetError) | |
| 641 | 630 | def artifact( | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -772,11 +772,6 @@ def test_artifact_project(project, resp_artifact): | |||
| 772 | 772 | project.artifact("ref_name", "artifact_path", "job") | |
| 773 | 773 | ||
| 774 | 774 | ||
| 775 | - def test_transfer_project_deprecated_warns(project, resp_transfer_project): | ||
| 776 | - with pytest.warns(DeprecationWarning): | ||
| 777 | - project.transfer_project("test-namespace") | ||
| 778 | - | ||
| 779 | - | ||
| 780 | 775 | def test_project_pull_mirror(project, resp_start_pull_mirroring_project): | |
| 781 | 776 | project.mirror_pull() | |
| 782 | 777 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments