mirror of
https://github.com/aljazceru/plugins.git
synced 2025-12-22 15:44:20 +01:00
Keep the orginal comment
This commit is contained in:
committed by
Christian Decker
parent
4f7e9da3db
commit
eb748ffe19
@@ -92,7 +92,7 @@ pluginopt = {'plugin': os.path.join(os.path.dirname(__file__), "YOUR_PLUGIN.py")
|
|||||||
def test_your_plugin(node_factory, bitcoind):
|
def test_your_plugin(node_factory, bitcoind):
|
||||||
l1 = node_factory.get_node(options=pluginopt)
|
l1 = node_factory.get_node(options=pluginopt)
|
||||||
s = l1.rpc.getinfo()
|
s = l1.rpc.getinfo()
|
||||||
assert(s['network'] == 'regtest')
|
assert(s['network'] == 'regtest') # or whatever you want to test
|
||||||
```
|
```
|
||||||
|
|
||||||
Tests are run against pull requests, all commits on `master`, as well as once
|
Tests are run against pull requests, all commits on `master`, as well as once
|
||||||
|
|||||||
Reference in New Issue
Block a user