Fix test assertion for renamed Stripe product label #387

Closed
opened 2026-04-07 19:38:28 +00:00 by forgejo_admin · 0 comments

Type

Bug

Lineage

Follow-up to forgejo_admin/basketball-api#383.

Repo

forgejo_admin/basketball-api

What Broke

CI pipeline #392 fails: test_remote_registration_creates_40_dollar_checkout asserts "Remote Registration" in product_name but #385 renamed it to "Remote Evaluation". 860 pass, 1 fail.

Repro Steps

  1. Merge PR #385
  2. Woodpecker pipeline #392 runs
  3. tests/test_promo_registration.py::TestCardRegistration::test_remote_registration_creates_40_dollar_checkout fails

Expected Behavior

All 861 tests pass. The assertion should check for "Remote Evaluation" to match the renamed Stripe product label.

Environment

Woodpecker CI, pipeline #392, basketball-api main branch.

File Targets

  • tests/test_promo_registration.py line 215: "Remote Registration""Remote Evaluation"

Acceptance Criteria

  • CI passes with all tests green

Test Expectations

  • Run command: pytest tests/test_promo_registration.py -k test_remote

Constraints

One-line string change.

Checklist

  • PR opened
  • Tests pass
  • westside-basketball
### Type Bug ### Lineage Follow-up to `forgejo_admin/basketball-api#383`. ### Repo `forgejo_admin/basketball-api` ### What Broke CI pipeline #392 fails: `test_remote_registration_creates_40_dollar_checkout` asserts `"Remote Registration" in product_name` but #385 renamed it to `"Remote Evaluation"`. 860 pass, 1 fail. ### Repro Steps 1. Merge PR #385 2. Woodpecker pipeline #392 runs 3. `tests/test_promo_registration.py::TestCardRegistration::test_remote_registration_creates_40_dollar_checkout` fails ### Expected Behavior All 861 tests pass. The assertion should check for "Remote Evaluation" to match the renamed Stripe product label. ### Environment Woodpecker CI, pipeline #392, basketball-api main branch. ### File Targets - `tests/test_promo_registration.py` line 215: `"Remote Registration"` → `"Remote Evaluation"` ### Acceptance Criteria - [ ] CI passes with all tests green ### Test Expectations - Run command: `pytest tests/test_promo_registration.py -k test_remote` ### Constraints One-line string change. ### Checklist - [ ] PR opened - [ ] Tests pass ### Related - `westside-basketball`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
forgejo_admin/basketball-api#387
No description provided.