blitz_api/tests
fusion44 df62098cd1
refactor(lightning): migrate SendCoinsInput validator to Pydantic v2
Replace the deprecated Pydantic v1 @validator('amount', pre=True,
always=True) with a v2 @model_validator(mode='after'). The model
validator always runs and can see both amount and send_all, preserving
the cross-field rule (and the always=True semantics that reject the
empty/default case). Removes the last Pydantic v1 deprecation warning.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-03 22:22:05 +02:00
..
models feat: implement Ruff as a linter; fix given errors 2023-06-25 07:17:00 +02:00
routers tests: add better integration tests 2026-02-03 11:06:06 +01:00
__init__.py test: Add testing dependencies and first tests 2021-10-02 12:00:44 +02:00
test_app_manage_lock.py fix(apps): don't release another task's app-manage lock 2026-07-03 20:01:54 +02:00
test_apps_uninstall_keep_data.py fix(apps): honour keep_data on uninstall and fix install log name 2026-07-03 20:58:35 +02:00
test_change_password.py fix(system): stop leaking passwords via change-password endpoint 2026-07-03 21:42:25 +02:00
test_cln_list_all_tx.py fix(lightning): include payments in CLN list_all_tx 2026-07-03 20:45:21 +02:00
test_cln_shell_safety.py fix(lightning): prevent shell injection in CLN local calls 2026-07-03 19:58:41 +02:00
test_exec_bash_timeout.py fix(api): catch subprocess timeouts in exec_bash_command 2026-07-03 19:59:57 +02:00
test_jwt.py fix(auth): correct JWT expiry unit and use standard exp claim 2026-07-03 20:35:34 +02:00
test_native_python_errors.py fix(system): stop native_python impl swallowing errors into None 2026-07-03 21:44:25 +02:00
test_send_coins_input.py refactor(lightning): migrate SendCoinsInput validator to Pydantic v2 2026-07-03 22:22:05 +02:00
test_warmup_events.py fix: send bitcoin-only warmup app status as app_state_update_message 2026-07-03 15:30:17 +02:00
utils.py chore: format source using the pre_commit command 2022-03-20 17:20:56 +01:00