From 9ea28350fe09644d8b80cf5bca0a606cd9424bcb Mon Sep 17 00:00:00 2001 From: Jia Xu Date: Thu, 19 Feb 2026 14:46:37 -0800 Subject: [PATCH 1/2] remove unused get_account_fee --- auth-api/src/auth_api/services/products.py | 1 - 1 file changed, 1 deletion(-) diff --git a/auth-api/src/auth_api/services/products.py b/auth-api/src/auth_api/services/products.py index c2d48a07d..d7b07b580 100644 --- a/auth-api/src/auth_api/services/products.py +++ b/auth-api/src/auth_api/services/products.py @@ -56,7 +56,6 @@ get_product_notification_data, get_product_notification_type, ) -from auth_api.utils.pay import get_account_fees from auth_api.utils.roles import CLIENT_ADMIN_ROLES, CLIENT_AUTH_ROLES, GOV_ORG_TYPES, STAFF from auth_api.utils.user_context import UserContext, user_context From 038cf7d23896e9b112d518ef01e8048e8b35fb3c Mon Sep 17 00:00:00 2001 From: Jia Xu Date: Thu, 19 Feb 2026 14:56:05 -0800 Subject: [PATCH 2/2] lint --- auth-api/tests/unit/api/test_org.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/auth-api/tests/unit/api/test_org.py b/auth-api/tests/unit/api/test_org.py index 4edc23edc..5b725a5d0 100644 --- a/auth-api/tests/unit/api/test_org.py +++ b/auth-api/tests/unit/api/test_org.py @@ -624,9 +624,10 @@ def test_add_same_org_409(client, jwt, session, keycloak_mock): # pylint:disabl def test_create_govn_org_with_products_single_staff_review_task(client, jwt, session, keycloak_mock, monkeypatch): # pylint:disable=unused-argument - """Assert creating a GOVN org with product subscriptions creates only the org staff review task, not a product task. - Also asserts _check_gov_org_add_product_previously_approved: after approving org task, user removes - product then re-adds -> task_create_org (ACCOUNT_REVIEW+COMPLETED+ACTIVE). + """Ensure GOVN org creation creates only a staff review task. + + Verify task status updates correctly when a product is re-added + after approval. """ patch_pay_account_post(monkeypatch)