-
Notifications
You must be signed in to change notification settings - Fork 632
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
RPC Tests #241
Comments
Python unittest has as a decorator that can be applied to the entire test class. Also I think the So you could do something like:
|
I think that better command to test that the daemon responds is |
For me, simply instantiating a Proxy with an attempted connection yields the desired result. Please let me know if you get different results. Perhaps we could add a For reference, I implemented this in #242. |
@dgpv has good points, @SachinMeier
Let me know if I'm missing an assumed configuration for running the tests. |
I get a different result. All my tests pass. I can add a single call to the |
hey @SachinMeier, Calling So I think the reason we are seeing different errors is that if a user has the If the |
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:
We can then have each test begin by checking
_IS_ACTIVE
and passing if not.The text was updated successfully, but these errors were encountered: