Closed mflaxman closed 3 years ago
Update: it appears these tests work again, when online (meaning the service to query UTXOs is back up).
That said, tests shouldn't require internet. Leaving this issue open to migrate unit tests to something self-contained.
Yeah, I fixed the domains this morning. I'll look at the tests. They didn't require internet at one point but some new tests might not be in the tx cache
Awesome, thanks for taking a look!
FWIW running the tests online and then turning off the internet doesn't update the tx.cache
.
Yeah that has to be written to disk after the tests with a dump.
I'm working on a branch of buidl for BCUR support (amongst other things) and old tests are now hanging. Here's an example from the current main branch.
@jimmysong any ideas? It looks like the issue is the
get_input_tx_lookup()
method. I didn't realize that the tests were calling out tohttp://testnet.programmingbitcoin.com
. I think it makes sense to re-write the tests to not require any external data.Update: some tests in
test_tx.py
are also hanging for me.