Skip to content

Commit e78a8d6

Browse files
fix: test_update_group() dependency on ordering
Since there are two groups we can't depend on the one we changed to always be the first one returned. Instead fetch the group we want and then test our assertion against that group.
1 parent 649385c commit e78a8d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/functional/cli/test_cli_v4.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def test_update_group(gitlab_cli, gl, group):
4242

4343
assert ret.success
4444

45-
group = gl.groups.list(description=description)[0]
45+
group = gl.groups.get(group.id)
4646
assert group.description == description
4747

4848

0 commit comments

Comments
 (0)
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