From f8abe2de00ea44447160a05b1927328c3e1806f0 Mon Sep 17 00:00:00 2001 From: Nejc Habjan Date: Wed, 8 Sep 2021 23:56:25 +0200 Subject: [PATCH] refactor(objects): remove deprecated project.issuesstatistics BREAKING CHANGE: remove deprecated project.issuesstatistics in favor of project.issues_statistics --- gitlab/v4/objects/projects.py | 1 - tests/unit/objects/test_issues.py | 4 ---- 2 files changed, 5 deletions(-) diff --git a/gitlab/v4/objects/projects.py b/gitlab/v4/objects/projects.py index 8392ddad8..eb1113792 100644 --- a/gitlab/v4/objects/projects.py +++ b/gitlab/v4/objects/projects.py @@ -135,7 +135,6 @@ class Project(RefreshMixin, SaveMixin, ObjectDeleteMixin, RepositoryMixin, RESTO imports: ProjectImportManager issues: ProjectIssueManager issues_statistics: ProjectIssuesStatisticsManager - issuesstatistics: ProjectIssuesStatisticsManager # Deprecated jobs: ProjectJobManager keys: ProjectKeyManager labels: ProjectLabelManager diff --git a/tests/unit/objects/test_issues.py b/tests/unit/objects/test_issues.py index f8e5e7708..a4e14540a 100644 --- a/tests/unit/objects/test_issues.py +++ b/tests/unit/objects/test_issues.py @@ -86,7 +86,3 @@ def test_get_project_issues_statistics(project, resp_issue_statistics): statistics = project.issues_statistics.get() assert isinstance(statistics, ProjectIssuesStatistics) assert statistics.statistics["counts"]["all"] == 20 - - # Deprecated attribute - deprecated = project.issuesstatistics.get() - assert deprecated.statistics == statistics.statistics pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy