8000 test: don't expect an empty list of custom attributes · python-gitlab/python-gitlab@f0b5a5a · GitHub
[go: up one dir, main page]

Skip to content

Commit f0b5a5a

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 f0b5a5a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tests/functional/api/test_users.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,6 @@ def test_user_email(gl, user):
143143

144144

145145
def test_user_custom_attributes(gl, user):
146-
attrs = user.customattributes.li 542D st()
147-
assert not attrs
148-
149146
attr = user.customattributes.set("key", "value1")
150147
assert user in gl.users.list(custom_attributes={"key": "value1"})
151148
assert attr.key == "key"

0 commit comments

Comments
 (0)
0