File tree Expand file tree Collapse file tree 2 files changed +0
-44
lines changed
sdk/communication/azure-communication-chat/tests Expand file tree Collapse file tree 2 files changed +0
-44
lines changed Original file line number Diff line number Diff line change @@ -200,21 +200,3 @@ def test_send_read_receipt(self):
200200 self ._send_message ()
201201
202202 self .chat_thread_client .send_read_receipt (self .message_id )
203-
204- @pytest .mark .live_test_only
205- def test_list_read_receipts (self ):
206- self ._create_thread ()
207- self ._send_message ()
208-
209- # send read receipts first
210- self .chat_thread_client .send_read_receipt (self .message_id )
211- if self .is_live :
212- time .sleep (2 )
213-
214- # list read receipts
215- read_receipts = self .chat_thread_client .list_read_receipts ()
216-
217- items = []
218- for item in read_receipts :
219- items .append (item )
220- assert len (items ) > 0
Original file line number Diff line number Diff line change @@ -277,29 +277,3 @@ async def test_send_read_receipt(self):
277277
278278 if not self .is_playback ():
279279 await self .chat_client .delete_chat_thread (self .thread_id )
280-
281- @pytest .mark .live_test_only
282- @AsyncCommunicationTestCase .await_prepared_test
283- async def test_list_read_receipts (self ):
284- async with self .chat_client :
285- await self ._create_thread ()
286-
287- async with self .chat_thread_client :
288- await self ._send_message ()
289-
290- # send read receipts first
291- await self .chat_thread_client .send_read_receipt (self .message_id )
292- if self .is_live :
293- await asyncio .sleep (2 )
294-
295- # list read receipts
296- read_receipts = self .chat_thread_client .list_read_receipts ()
297-
298- items = []
299- async for item in read_receipts :
300- items .append (item )
301-
302- assert len (items ) > 0
303-
304- if not self .is_playback ():
305- await self .chat_client .delete_chat_thread (self .thread_id )
You can’t perform that action at this time.
0 commit comments