Skip to content

Commit 0ffc2d6

Browse files
Update stream_chat/tests/test_client.py
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent b142f88 commit 0ffc2d6

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

stream_chat/tests/test_client.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -177,13 +177,9 @@ def test_update_user_partial_with_team(self, client: StreamChat):
177177
user_id = str(uuid.uuid4())
178178
client.upsert_user({"id": user_id, "name": "Test User"})
179179

180-
response = client.update_user_partial({
181-
"id": user_id,
182-
"set": {
183-
"team": "blue",
184-
"teams_role": {"blue": "admin"}
185-
}
186-
})
180+
response = client.update_user_partial(
181+
{"id": user_id, "set": {"team": "blue", "teams_role": {"blue": "admin"}}}
182+
)
187183

188184
assert "users" in response
189185
assert user_id in response["users"]

0 commit comments

Comments
 (0)