Skip to content

Commit 6e6ac2a

Browse files
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
1 parent 9f4b695 commit 6e6ac2a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tests/functional/api/test_users.py

-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ def test_user_email(gl, user):
144144

145145
def test_user_custom_attributes(gl, user):
146146
attrs = user.customattributes.list()
147-
assert not attrs
148147

149148
attr = user.customattributes.set("key", "value1")
150149
assert user in gl.users.list(custom_attributes={"key": "value1"})

0 commit comments

Comments
 (0)