rgb-cln/tests
Rusty Russell 09c1cfde39 pyln-client: don't automatically turn JSON into Millisatoshi class.
Now _msat fields are all integers (last conversion 23.08) we can simply
leave them alone, rather than trying to convert them.

And for turning Millisatoshi into JSON, we simply globally replace the
default encoding function to try ".to_json()" on items, which allows
anything to be marshalled.

The global replacement was interfering with other uses of JSON, such
as the clnrest plugin.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Changed: pyln-client: no longer autoconverts _msat field to Millisatoshi class (leaves as ints).
2023-12-16 10:22:01 +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 Implement tests for notifications on `custommsg` 2023-12-16 11:36:42 +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 topology: don't show private nodes in listchannels. 2023-12-14 09:16:56 +10:30
test_clnrest.py lightningd: don't print out notification msat fields as strings. 2023-11-21 08:23:39 +01:00
test_closing.py pyln-client: don't automatically turn JSON into Millisatoshi class. 2023-12-16 10:22:01 +01:00
test_connection.py topology: don't show private nodes in listchannels. 2023-12-14 09:16:56 +10:30
test_db.py pytest: use --developer instead of environment variable. 2023-09-21 20:08:24 +09:30
test_gossip.py plugins: re-enable listchannels local info in deprecated mode. 2023-12-14 09:16:56 +10:30
test_invoices.py add test, update schemas, fix warning_custom_fallbacks 2023-10-26 19:11:17 +10:30
test_misc.py pytest: don't assume that msat fields get turned into Millisatoshi. 2023-12-16 10:22:01 +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 pytest: fix tests in assumption that listchannels will no longer show private gossip. 2023-12-14 09:16:56 +10:30
test_pay.py pytest: don't assume that msat fields get turned into Millisatoshi. 2023-12-16 10:22:01 +01:00
test_plugin.py pytest: don't assume that msat fields get turned into Millisatoshi. 2023-12-16 10:22:01 +01:00
test_reckless.py pytest: add reckless local install test 2023-07-27 06:53:49 +09:30
test_renepay.py pytest: don't assume that msat fields get turned into Millisatoshi. 2023-12-16 10:22:01 +01:00
test_runes.py pytest: correctly test missing method for runes. 2023-10-17 14:58:40 +10:30
test_splicing.py topology: don't show private nodes in listnodes. 2023-12-14 09:16:56 +10:30
test_splicing_disconnect.py splice: Reestablish when commit or sig sends fail 2023-11-20 07:35:22 +01:00
test_splicing_insane.py splice: Agressive restart testing during splices 2023-12-15 09:42:45 +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