Skip to content

Commit

Permalink
Merge pull request #2195 from python-gitlab/jlvillal/array_test
Browse files Browse the repository at this point in the history
test: add test to show issue fixed
  • Loading branch information
nejch committed Jul 28, 2022
2 parents 510ec30 + 75bec7d commit 1cf5932
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tests/functional/api/test_merge_requests.py
Expand Up @@ -41,6 +41,19 @@ def test_merge_requests_get(project, merge_request):
assert mr.iid == mr_iid


def test_merge_requests_list_approver_ids(project, gitlab_ee):
# show https://github.com/python-gitlab/python-gitlab/issues/1698 is now
# fixed
if not gitlab_ee:
pytest.skip("Requires GitLab EE to run")
project.mergerequests.list(
all=True,
state="opened",
author_id=423,
approver_ids=[423],
)


def test_merge_requests_get_lazy(project, merge_request):
new_mr = merge_request(source_branch="test_get")
mr_iid = new_mr.iid
Expand Down

0 comments on commit 1cf5932

Please sign in to comment.