Commit Graph

16 Commits

Author SHA1 Message Date
Michael Schmoock
7d5b4a9516 drain: fix flake8 code nits 2022-12-27 13:27:52 +01:00
Michael Schmoock
eb4463d43d drain: fixed and reenable test_drain_and_refill 2022-11-04 11:43:00 +01:00
Michael Schmoock
5691f717f4 drain: reenable test_setbalance as it is stable 2022-11-04 11:43:00 +01:00
Michael Schmoock
15e6f61052 drain: use fundchannel instead of openchannel
Affects: tests

Using openchannel does not always guarantee a channel to have a SCID.
Thus `node.get_channel_scid(...)` can raise an error when a channel
was opened using openchannel.
2022-11-04 11:43:00 +01:00
Michael Schmoock
f022ca380d drain: upgrade testcase for new setchannel command 2022-04-03 17:15:35 +02:00
Christian Decker
7ee9d6ca07 drain: Disable the refill test, it was flaky and now it's broken 2022-01-07 14:55:04 +01:00
Michael Schmoock
43618ef155 drain: adds basic test plugin_starts 2021-06-17 13:00:58 +02:00
Christian Decker
cff243d5fb drain: Mark the tests as developer-only
They were timing out creating the network.
2021-01-13 11:23:56 +01:00
Christian Decker
682ea86cbc drain: Mark the drain_and_refill test as flaky
It sometimes does not raise the expected error, so let's rerun it
until we've addressed the flakyness
2020-12-02 11:04:44 +01:00
Michael Schmoock
04254693ab drain: adds __init__.py and cleanups flake8 nits 2020-11-30 10:38:44 +01:00
Michael Schmoock
9ee7006de2 drain: test openchannel instead of fund_channel
The usage of fund_channel is no longer recommended as of
main repo e802b128

The return value of pyln funchannel has changed to a tuple
as of main repo de34f08b

The usage of fundchannel is no longer supported by Travis
for unknown reasons
2020-11-30 10:38:44 +01:00
Michael Schmoock
08f3da8706 drain: fix test for clnd with exp features 2020-09-19 17:00:19 +02:00
Christian Decker
581a2fd568 drain: Disable test_setbalance if EXPERIMENTAL_FEATURES=1
Amounts seem not to match anymore, need to look into it.
2020-08-28 23:06:30 +02:00
Michael Schmoock
6de448358a drain: refine tests 2020-06-11 13:16:01 +02:00
Michael Schmoock
395577ec66 drain: utils - adds get_theirs helper 2020-06-11 13:16:01 +02:00
Michael Schmoock
920f414ab0 drain: adds test cases 2020-05-23 13:38:01 +02:00