Skip to content

Commit 7f59173

Browse files
committed
test(scim): assert the response body keeps schemas flat
1 parent 9f14b6c commit 7f59173

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎tests/slack_sdk/scim/test_response.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ def test_snake_cased(self):
7474
)
7575
)
7676
user = response.users[0]
77+
self.assertEqual(response.snake_cased_body["schemas"], ["urn:scim:schemas:core:1.0"])
7778
self.assertIsNotNone(user.unknown_fields.get("new_attribute"))
7879
# the unknown fields need to be also camel-cased
7980
self.assertIsNotNone(user.to_dict().get("newAttribute"))

0 commit comments

Comments
 (0)