Thanks for looking into it! Running the updated test with mainnet/testnet3/signet nodes running, the mainnet test passed. However, it still fails for the testnet3 and signet cases. (IDK about other people, but I usually have mainnet and one or both of signet and testnet3 running while working on this project and running tests.)
(nit in your last push, this diff was correct before the update, 2 spaces is the norm before a # comment
)
0- conf.write('') # clear
1+ conf.write('') # clear
You can verify this using, say, the black
python linter:
0$ black --code "conf.write('') # clear"
1conf.write("") # clear