Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions tests/e2e/helpdesk/chats/messages/test_async_messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,11 @@ async def test_list_chat_messages(async_chat_messages_service):
assert all(isinstance(message, ChatMessage) for message in result)


@pytest.mark.skip(reason="Unskip after MPT-19124 completed") # noqa: AAA01
def test_create_chat_message(async_created_chat_message, chat_message_data):
def test_create_chat_message(async_created_chat_message, chat_message_data): # noqa: AAA01
assert async_created_chat_message.id is not None
assert async_created_chat_message.to_dict().get("content") == chat_message_data["content"]


@pytest.mark.skip(reason="Unskip after MPT-19124 completed")
async def test_update_chat_message_visibility(
async_chat_messages_service, async_created_chat_message
):
Expand All @@ -33,7 +31,6 @@ async def test_update_chat_message_visibility(
assert result.id == async_created_chat_message.id


@pytest.mark.skip(reason="Unskip after MPT-19124 completed")
async def test_delete_chat_message(async_chat_messages_service, async_created_chat_message):
result = async_created_chat_message

Expand Down
5 changes: 1 addition & 4 deletions tests/e2e/helpdesk/chats/messages/test_sync_messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,17 @@ def test_list_chat_messages(chat_messages_service):
assert all(isinstance(message, ChatMessage) for message in result)


@pytest.mark.skip(reason="Unskip after MPT-19124 completed") # noqa: AAA01
def test_create_chat_message(created_chat_message, chat_message_data):
def test_create_chat_message(created_chat_message, chat_message_data): # noqa: AAA01
assert created_chat_message.id is not None
assert created_chat_message.to_dict().get("content") == chat_message_data["content"]


@pytest.mark.skip(reason="Unskip after MPT-19124 completed")
def test_update_chat_message_visibility(chat_messages_service, created_chat_message):
result = chat_messages_service.update(created_chat_message.id, {"visibility": "Public"})

assert result.id == created_chat_message.id


@pytest.mark.skip(reason="Unskip after MPT-19124 completed")
def test_delete_chat_message(chat_messages_service, created_chat_message):
result = created_chat_message

Expand Down