88pytestmark = [pytest .mark .flaky ]
99
1010
11- @pytest .mark .skip (reason = "Unskip after MPT-19124 completed" )
1211async def test_list_chat_attachments (async_chat_attachments_service , async_created_chat_attachment ):
1312 result = await async_chat_attachments_service .fetch_page (limit = 1 )
1413
1514 assert len (result ) > 0
1615 assert all (isinstance (attachment , ChatAttachment ) for attachment in result )
1716
1817
19- @pytest .mark .skip (reason = "Unskip after MPT-19124 completed" ) # noqa: AAA01
20- def test_create_chat_attachment (async_created_chat_attachment , chat_attachment_data ):
18+ def test_create_chat_attachment (async_created_chat_attachment , chat_attachment_data ): # noqa: AAA01
2119 assert async_created_chat_attachment .id is not None
2220 assert async_created_chat_attachment .to_dict ().get ("name" ) == chat_attachment_data ["name" ]
2321
2422
25- @pytest .mark .skip (reason = "Unskip after MPT-19124 completed" )
2623async def test_get_chat_attachment (async_chat_attachments_service , async_created_chat_attachment ):
2724 result = await async_chat_attachments_service .get (async_created_chat_attachment .id )
2825
2926 assert result .id == async_created_chat_attachment .id
3027
3128
32- @pytest .mark .skip (reason = "Unskip after MPT-19124 completed" )
3329async def test_update_chat_attachment (
3430 async_chat_attachments_service , async_created_chat_attachment , short_uuid
3531):
@@ -44,7 +40,6 @@ async def test_update_chat_attachment(
4440 assert result .to_dict ().get ("name" ) == updated_name
4541
4642
47- @pytest .mark .skip (reason = "Unskip after MPT-19124 completed" )
4843async def test_download_chat_attachment (
4944 async_chat_attachments_service , async_created_chat_attachment
5045):
@@ -56,7 +51,6 @@ async def test_download_chat_attachment(
5651 assert result .file_contents is not None
5752
5853
59- @pytest .mark .skip (reason = "Unskip after MPT-19124 completed" )
6054async def test_delete_chat_attachment (async_chat_attachments_service , chat_attachment_data , pdf_fd ):
6155 created = await async_chat_attachments_service .create (chat_attachment_data , file = pdf_fd )
6256
0 commit comments