-
Notifications
You must be signed in to change notification settings - Fork 318
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Unit tests exist for individual payment components (test_payment_handler.py,
test_payment_session_manager.py, test_x402_middleware.py) but there are no
integration tests that exercise a full payment lifecycle from request to settlement.
What needs to happen:
- Create an integration test that simulates a paid task request end-to-end.
- Cover scenarios: successful payment, insufficient balance, payment timeout, and
settlement failure. - Place tests in
tests/integration/following existing patterns.
Relevant files:
tests/unit/test_payment_handler.pytests/unit/test_x402_middleware.pybindu/server/middleware/x402/x402_middleware.py
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
Backlog