diff options
author | John L. Villalovos <debian.org@sodarock.com> | 2021-02-20 18:54:30 -0800 |
---|---|---|
committer | John L. Villalovos <debian.org@sodarock.com> | 2021-02-20 18:58:11 -0800 |
commit | e78a8d6353427bad0055f116e94f471997ee4979 (patch) | |
tree | 748885ab8e1b2ccba82472dc56ab49ec63739dc0 | |
parent | 649385cc03065d023d74399237331d1ea64f766f (diff) | |
download | gitlab-e78a8d6353427bad0055f116e94f471997ee4979.tar.gz |
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.
-rw-r--r-- | tools/functional/cli/test_cli_v4.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/functional/cli/test_cli_v4.py b/tools/functional/cli/test_cli_v4.py index 4f78c0c..a63c1b1 100644 --- a/tools/functional/cli/test_cli_v4.py +++ b/tools/functional/cli/test_cli_v4.py @@ -42,7 +42,7 @@ def test_update_group(gitlab_cli, gl, group): assert ret.success - group = gl.groups.list(description=description)[0] + group = gl.groups.get(group.id) assert group.description == description |