Skip to content

Commit

Permalink
fix: update stream_chat/tests/test_channel.py
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
totalimmersion and github-actions[bot] authored Dec 6, 2024
1 parent 42cc3f8 commit e4a2c88
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions stream_chat/tests/test_channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -444,9 +444,7 @@ def test_update_member_partial(self, channel: Channel, random_users: List[Dict])

# Test setting a new field while unsetting the previous one
response = channel.update_member_partial(
user_id,
set={"color": "red"},
unset=["hat"]
user_id, set={"color": "red"}, unset=["hat"]
)
assert response["channel_member"]["color"] == "red"
assert "hat" not in response["channel_member"]

0 comments on commit e4a2c88

Please sign in to comment.