Open
Description
Currently, RPC Tests are commented out because bitcoind must be running to test them. I am thinking this should change to check if bitcoind is running. I am unsure of the best implementation, but this is what I am thinking. I was hoping to get feedback before I open a PR.
test_rpc.py:
def is_active():
try:
p = Proxy()
return True
except ValueError:
return False
class Test_RPC(unittest.TestCase):
_IS_ACTIVE = is_active()
...
We can then have each test begin by checking _IS_ACTIVE
and passing if not.
Metadata
Metadata
Assignees
Labels
No labels