Skip to content

Conversation

@robcsegal
Copy link
Contributor

Added Accounts accounts e2e CRUD and state endpoints tests

https://softwareone.atlassian.net/browse/MPT-14864

@github-actions
Copy link

github-actions bot commented Nov 12, 2025

✅ Found Jira issue key in the title: MPT-14864

Generated by 🚫 dangerJS against 0ca4012

@robcsegal robcsegal force-pushed the MPT-14864-add-e-2-e-tests-for-accounts-endpoints-for-crud-and-state-operations branch from 747d9e3 to 337cc40 Compare November 12, 2025 16:18
Comment on lines +54 to +62
async def test_update_account_invalid_data(
async_mpt_ops, account, async_created_account, account_icon
):
updated_data = account(name="")

with pytest.raises(MPTAPIError, match=r"400 Bad Request"):
await async_mpt_ops.accounts.accounts.update(
async_created_account.id, updated_data, logo=account_icon
)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@albertsola
Copy link
Contributor

Are you updating the seeder as part of the E2E tests update?

@robcsegal robcsegal force-pushed the MPT-14864-add-e-2-e-tests-for-accounts-endpoints-for-crud-and-state-operations branch from 337cc40 to 0ca4012 Compare November 12, 2025 16:35
@robcsegal
Copy link
Contributor Author

Are you updating the seeder as part of the E2E tests update?

I'm doing seeding separately.

@sonarqubecloud
Copy link

@robcsegal robcsegal merged commit 4baedb0 into main Nov 12, 2025
4 checks passed
@robcsegal robcsegal deleted the MPT-14864-add-e-2-e-tests-for-accounts-endpoints-for-crud-and-state-operations branch November 12, 2025 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants