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
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
pytestmark = [pytest.mark.flaky]


@pytest.mark.skip(reason="Unskip after MPT-19124 completed")
async def test_list_chat_participants(async_chat_participants_service):
result = await async_chat_participants_service.fetch_page(limit=1)

Expand Down Expand Up @@ -42,7 +41,6 @@ async def test_delete_chat_participant(
await async_chat_participants_service.delete(result.id)


@pytest.mark.skip(reason="Unskip after MPT-19124 completed")
async def test_update_chat_participant_not_found(
async_chat_participants_service, invalid_chat_participant_id
):
Expand All @@ -54,10 +52,9 @@ async def test_update_chat_participant_not_found(
assert error.value.status_code == HTTPStatus.NOT_FOUND


@pytest.mark.skip(reason="Unskip after MPT-19124 completed")
async def test_delete_chat_participant_not_found(
async_chat_participants_service, invalid_chat_participant_id
):
with pytest.raises(MPTAPIError) as error:
await async_chat_participants_service.delete(invalid_chat_participant_id)
assert error.value.status_code == HTTPStatus.NOT_FOUND
assert error.value.status_code == HTTPStatus.BAD_REQUEST # TODO: verify 400 is OK instead 404
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
pytestmark = [pytest.mark.flaky]


@pytest.mark.skip(reason="Unskip after MPT-19124 completed")
def test_list_chat_participants(chat_participants_service):
result = chat_participants_service.fetch_page(limit=1)

Expand All @@ -35,17 +34,15 @@ def test_delete_chat_participant(chat_participants_service, created_chat_partici
chat_participants_service.delete(result.id)


@pytest.mark.skip(reason="Unskip after MPT-19124 completed")
def test_update_chat_participant_not_found(chat_participants_service, invalid_chat_participant_id):
with pytest.raises(MPTAPIError) as error:
chat_participants_service.update(invalid_chat_participant_id, {"status": "Active"})

assert error.value.status_code == HTTPStatus.NOT_FOUND


@pytest.mark.skip(reason="Unskip after MPT-19124 completed")
def test_delete_chat_participant_not_found(chat_participants_service, invalid_chat_participant_id):
with pytest.raises(MPTAPIError) as error:
chat_participants_service.delete(invalid_chat_participant_id)

assert error.value.status_code == HTTPStatus.NOT_FOUND
assert error.value.status_code == HTTPStatus.BAD_REQUEST # TODO: verify 400 is OK instead 404
Loading