mirror of
https://github.com/ElementsProject/lightning.git
synced 2026-08-17 13:06:36 +02:00
We were using sleeps to hope we catch the password prompt. This makes the test flaky. So I added a help text followed by a `fflush` to make sure we catcht he right moment, instead of guessing. The `fflush` is also useful for debugging if a user ever pipes the output to a file it'd get buffered and the user would wait forever. The same applies for automated systems such as `expect` or `pexpect` based scripts that enter the password on prompt. |
||
|---|---|---|
| .. | ||
| data | ||
| plugins | ||
| benchmark.py | ||
| conftest.py | ||
| db.py | ||
| fixtures.py | ||
| requirements.txt | ||
| test_closing.py | ||
| test_connection.py | ||
| test_db.py | ||
| test_gossip.py | ||
| test_invoices.py | ||
| test_misc.py | ||
| test_pay.py | ||
| test_plugin.py | ||
| test_wallet.py | ||
| utils.py | ||