diff --git a/tests/integration/test_integration_account_plans.py b/tests/integration/test_integration_account_plans.py new file mode 100644 index 0000000..62f18a3 --- /dev/null +++ b/tests/integration/test_integration_account_plans.py @@ -0,0 +1,18 @@ +import secrets + +import pytest + +from tests.integration import asserts +from tests.integration.asserts import assert_resource + + +@pytest.fixture(scope='module') +def update_account_plan_params(): + suffix = secrets.token_urlsafe(8) + name = f"updated-{suffix}" + return dict(name=name, description=name) + +def test_account_plan_update(account_plan, update_account_plan_params): + updated_account_plan = account_plan.update(params=update_account_plan_params) + asserts.assert_resource(updated_account_plan) + asserts.assert_resource_params(updated_account_plan, update_account_plan_params) \ No newline at end of file