diff options
| author | Nejc Habjan <nejc.habjan@siemens.com> | 2022-01-13 19:49:11 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-13 19:49:11 +0100 |
| commit | 58e5b2528003d2ee6a55084cc32c6a4bf9aa5bd0 (patch) | |
| tree | e04f0c6b18e781a2f9e1ff835bf1ae2bad0156c4 /tests/functional | |
| parent | 6f64d4098ed4a890838c6cf43d7a679e6be4ac6c (diff) | |
| parent | 755e0a32e8ca96a3a3980eb7d7346a1a899ad58b (diff) | |
| download | gitlab-58e5b2528003d2ee6a55084cc32c6a4bf9aa5bd0.tar.gz | |
Merge pull request #1827 from python-gitlab/jlvillal/all_objects
fix: members: use new *All objects for *AllManager managers
Diffstat (limited to 'tests/functional')
| -rw-r--r-- | tests/functional/cli/test_cli_v4.py | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/functional/cli/test_cli_v4.py b/tests/functional/cli/test_cli_v4.py index 91c0afa..da64957 100644 --- a/tests/functional/cli/test_cli_v4.py +++ b/tests/functional/cli/test_cli_v4.py @@ -701,6 +701,31 @@ def test_delete_group_deploy_token(gitlab_cli, group_deploy_token): # TODO assert not in list +def test_project_member_all(gitlab_cli, project): + cmd = [ + "project-member-all", + "list", + "--project-id", + project.id, + ] + ret = gitlab_cli(cmd) + + assert ret.success + + +def test_group_member_all(gitlab_cli, group): + cmd = [ + "group-member-all", + "list", + "--group-id", + group.id, + ] + ret = gitlab_cli(cmd) + + assert ret.success + + +# Deleting the project and group. Add your tests above here. def test_delete_project(gitlab_cli, project): cmd = ["project", "delete", "--id", project.id] ret = gitlab_cli(cmd) @@ -713,3 +738,6 @@ def test_delete_group(gitlab_cli, group): ret = gitlab_cli(cmd) assert ret.success + + +# Don't add tests below here as the group and project have been deleted |
