-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add tests for sauron plugin #1
Conversation
sip-21
commented
Oct 4, 2024
•
edited
Loading
edited
- Added tests for Sauron plugin using:
- Esplora API
- MutinyNet API (mempool.space)
- Tor proxy configuration
2492513
to
32f2553
Compare
Tests are probably not yet complete, but provide a base. |
bef972b
to
7402d7d
Compare
2bc4c7f
to
a3422cd
Compare
sauron/sauron.py
Outdated
@@ -11,7 +11,7 @@ | |||
|
|||
plugin = Plugin(dynamic=False) | |||
plugin.sauron_socks_proxies = None | |||
plugin.sauron_network = "test" | |||
plugin.sauron_network = "bitcoin" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this change?
Seems like not a great idea to make mainnet the default?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Upss, this was unintentional. A leftover from testing.
Fixed.
Great! All tests for Blockstream Esplora passed. I also ran them locally and they also passed. Would be great if you can write some tests for Mutinynet. |
5ba626d
to
dc2e886
Compare
dc2e886
to
98f5fae
Compare
I ran |
@ca-ruz let's merge this and figure out the tests on the upstream PR |
Awesome @sip-21 Thanks for writing the tests for Sauron! Very thorough. Merged. |