diff options
| author | Nejc Habjan <hab.nejc@gmail.com> | 2021-09-08 23:25:29 +0200 |
|---|---|---|
| committer | John Villalovos <john@sodarock.com> | 2021-09-08 14:55:00 -0700 |
| commit | c4f5ec6c615e9f83d533a7be0ec19314233e1ea0 (patch) | |
| tree | 13f3473f772036cb4c76a91fe50292d6980d87d6 /tests | |
| parent | 823628153ec813c4490e749e502a47716425c0f1 (diff) | |
| download | gitlab-c4f5ec6c615e9f83d533a7be0ec19314233e1ea0.tar.gz | |
refactor(objects): remove deprecated pipelines() method
BREAKING CHANGE: remove deprecated pipelines() methods in favor of pipelines.list()
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/unit/objects/test_merge_request_pipelines.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/unit/objects/test_merge_request_pipelines.py b/tests/unit/objects/test_merge_request_pipelines.py index c620cb0..04b04a8 100644 --- a/tests/unit/objects/test_merge_request_pipelines.py +++ b/tests/unit/objects/test_merge_request_pipelines.py @@ -40,17 +40,6 @@ def resp_create_merge_request_pipeline(): yield rsps -def test_merge_requests_pipelines_deprecated_raises_warning( - project, resp_list_merge_request_pipelines -): - with pytest.deprecated_call(): - pipelines = project.mergerequests.get(1, lazy=True).pipelines() - - assert len(pipelines) == 1 - assert isinstance(pipelines[0], ProjectMergeRequestPipeline) - assert pipelines[0].sha == pipeline_content["sha"] - - def test_list_merge_requests_pipelines(project, resp_list_merge_request_pipelines): pipelines = project.mergerequests.get(1, lazy=True).pipelines.list() assert len(pipelines) == 1 |
