Skip to content

Commit

Permalink
Update mentionedPeople test to use type string
Browse files Browse the repository at this point in the history
mentionedPeople should be a string not a list.
  • Loading branch information
cmlccie committed Oct 29, 2017
1 parent e3f0113 commit d91b27e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/api/test_messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def test_list_messages_with_paging(self, api, group_room,

def test_list_messages_mentioning_me(self, api, group_room,
group_room_markdown_message):
messages = list_messages(api, group_room.id, mentionedPeople=["me"])
messages = list_messages(api, group_room.id, mentionedPeople="me")
messages_list = list(messages)
assert len(messages_list) >= 1
assert are_valid_messages(messages_list)

0 comments on commit d91b27e

Please sign in to comment.