diff options
| author | John L. Villalovos <john@sodarock.com> | 2023-02-13 08:29:00 -0800 |
|---|---|---|
| committer | John L. Villalovos <john@sodarock.com> | 2023-02-13 08:29:00 -0800 |
| commit | f0b5a5ab4938feeee6b6bd8e1a5ab7ee417fe1d7 (patch) | |
| tree | a1dac12b957be441bc5c189ea98e18e752eb8e6f | |
| parent | 9f4b695abe26d72712901166c970be5c8e19659e (diff) | |
| download | gitlab-f0b5a5ab4938feeee6b6bd8e1a5ab7ee417fe1d7.tar.gz | |
test: don't expect an empty list of custom attributes
Now GitLab is returning two custom attributes for a user. So don't
assert that there are no custom attributes on a new user.
[1] https://gitlab.com/gitlab-org/gitlab/-/merge_requests/108250
| -rw-r--r-- | tests/functional/api/test_users.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/functional/api/test_users.py b/tests/functional/api/test_users.py index 92418e8..70e0ee5 100644 --- a/tests/functional/api/test_users.py +++ b/tests/functional/api/test_users.py @@ -143,9 +143,6 @@ def test_user_email(gl, user): def test_user_custom_attributes(gl, user): - attrs = user.customattributes.list() - assert not attrs - attr = user.customattributes.set("key", "value1") assert user in gl.users.list(custom_attributes={"key": "value1"}) assert attr.key == "key" |
