Skip to content

Commit

Permalink
Update test_api_users.py
Browse files Browse the repository at this point in the history
  • Loading branch information
vbrik authored Apr 16, 2024
1 parent b08c286 commit 2363251
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_api_users.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ async def test_user_put(server):
await client.request('PUT', '/api/users/test', {'loginShell': 'foo'})

# Sometime after version 15, Keycloak started to delete empty attributes
# (not sure if this applies to user profile attributes)
# (not sure if this still applies if user profiles are enabled)
await client.request('PUT', '/api/users/test', {'loginShell': ''})
ret = await krs.users.user_info('test', rest_client=krs_client)
assert 'loginShell' not in ret['attributes']
Expand Down

0 comments on commit 2363251

Please sign in to comment.