Skip to content

(PC-34274)[API] feat: add age 17 to 18 eligibility #10698

(PC-34274)[API] feat: add age 17 to 18 eligibility

(PC-34274)[API] feat: add age 17 to 18 eligibility #10698

GitHub Actions / Pytest Report failed Jan 30, 2025 in 0s

2469 tests run, 2464 passed, 4 skipped, 1 failed.

Annotations

Check failure on line 436 in tests/core/subscription/dms/test_api.py

See this annotation in the file changed.

@github-actions github-actions / Pytest Report

tests/core/subscription/dms/test_api.py.test_correcting_application_resets_errors

AssertionError: assert [<FraudReasonCode.AGE_NOT_VALID: 'age_is_not_valid'>] == []
  
  Left contains one more item: <FraudReasonCode.AGE_NOT_VALID: 'age_is_not_valid'>
  
  Full diff:
  - []
  + [
  +     <FraudReasonCode.AGE_NOT_VALID: 'age_is_not_valid'>,
  + ]
Raw output
tests/core/subscription/dms/test_api.py:470: in test_correcting_application_resets_errors
    assert fraud_check.reasonCodes == []
E   AssertionError: assert [<FraudReasonCode.AGE_NOT_VALID: 'age_is_not_valid'>] == []
E     
E     Left contains one more item: <FraudReasonCode.AGE_NOT_VALID: 'age_is_not_valid'>
E     
E     Full diff:
E     - []
E     + [
E     +     <FraudReasonCode.AGE_NOT_VALID: 'age_is_not_valid'>,
E     + ]