core-lightning/tests
Rusty Russell 8b84c8945b clnrest: don't convert *_msat fields to strings.
We have a global JSON encoder hack, which means that any field ending in msat gets special treatment (so we can safely talk to lightningd, even if a field expects satoshi amounts, we are explicit).  However, requests uses the JSON parser and DOES NOT want this conversion when sending it out as an HTTP response!

The simplest local fix we could find was Shahana's suggestion to iterate and covert away from Millisatoshi(): the reverse of what our JSON encoder does.

Fixes: https://github.com/ElementsProject/lightning/issues/6848
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2023-11-16 09:07:07 +01:00
..
data db: migrate old runes table to fix up id fields. 2023-08-31 05:33:15 +09:30
fuzz fuzz: new bolt11 seeds 2023-10-24 12:17:18 +10:30
plugins pytest: test for accepting even unknown messages. 2023-10-24 11:50:57 +10:30
vectors pytest: Remove onion test vectors containing legacy onions. 2022-03-18 09:20:11 +10:30
benchmark.py pytest: always provide payment_secret when making payments. 2021-07-14 14:38:00 -05:00
conftest.py pytest: use --developer instead of environment variable. 2023-09-21 20:08:24 +09:30
db.py test-db-provider: if postgres in tests, startup a bookkeeper db 2022-07-28 12:08:18 +09:30
fixtures.py pytest: use --developer instead of environment variable. 2023-09-21 20:08:24 +09:30
rkls_github_canned_server.py pytest: add blackbox tests for reckless 2023-04-09 12:41:11 +09:30
test_bookkeeper.py pytest: wean many tests off the assumption that listchannels shows private channels. 2023-10-04 08:02:33 +10:30
test_cln_rs.py cln-plugin: Add test for cln-plugin send_custom_notification 2023-10-30 18:24:23 +01:00
test_clnrest.py clnrest: don't convert *_msat fields to strings. 2023-11-16 09:07:07 +01:00
test_closing.py lightningd: add a feerate offset when updating feerates as opener 2023-11-02 09:49:59 +10:30
test_connection.py dualfund, tests: break out "peer forgets" test 2023-11-02 19:32:05 +10:30
test_db.py pytest: use --developer instead of environment variable. 2023-09-21 20:08:24 +09:30
test_gossip.py pytest: Fix a falke in test_gossip_pruning 2023-10-26 15:51:07 +02:00
test_invoices.py add test, update schemas, fix warning_custom_fallbacks 2023-10-26 19:11:17 +10:30
test_misc.py lightningd: wumbo is now the default, setting has no effect. 2023-11-02 08:16:51 +01:00
test_mkfunding.py pytest: add tests for devtools/mkfunding 2023-01-09 14:50:30 -06:00
test_onion.py lightningd: remove support for legacy onion format. 2022-03-18 09:20:11 +10:30
test_opening.py dualfund: error on out of order sigs 2023-11-02 19:32:05 +10:30
test_pay.py lightningd: wumbo is now the default, setting has no effect. 2023-11-02 08:16:51 +01:00
test_plugin.py dualfund: split 'commit-received' into two parts 2023-11-02 19:32:05 +10:30
test_reckless.py pytest: add reckless local install test 2023-07-27 06:53:49 +09:30
test_renepay.py pytest: use --developer instead of environment variable. 2023-09-21 20:08:24 +09:30
test_runes.py pytest: correctly test missing method for runes. 2023-10-17 14:58:40 +10:30
test_splicing.py splice: Update test for new logs 2023-10-27 13:20:33 +10:30
test_wallet.py addpsbtoutput: allow command to specify output address. 2023-11-01 14:11:28 +10:30
utils.py lightningd: wumbo is now the default, setting has no effect. 2023-11-02 08:16:51 +01:00
valgrind-suppressions.txt pytest: Use valgrind target suppressions instead of skipping tests 2022-03-10 10:21:41 +10:30