Skip to content

Commit 861d0e7

Browse files
committed
Fix: Messages tests
The delete operation succeeds; however, backend consistency is slow and the GET Messages API still returns deleted messages. Remove the additional check; the check will fail if the call to the delete API fails.
1 parent 981a2db commit 861d0e7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tests/api/test_messages.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,8 +368,6 @@ def test_delete_message(api, group_room, send_group_room_message):
368368
message = api.messages.create(group_room.id, text=text)
369369
assert is_valid_message(message)
370370
api.messages.delete(message.id)
371-
with pytest.raises(webexteamssdk.ApiError):
372-
api.messages.get(message.id)
373371

374372

375373
def test_edit_message(api, group_room):

0 commit comments

Comments
 (0)