Browse Source

Add dpow.py to test files

pull/138/head
Team ChainStrike 6 years ago
parent
commit
a4eb0294c6
  1. 1
      qa/pull-tester/rpc-tests.sh
  2. 4
      qa/rpc-tests/dpow.py

1
qa/pull-tester/rpc-tests.sh

@ -11,6 +11,7 @@ export BITCOIND=${REAL_BITCOIND}
#Run the tests
testScripts=(
'dpow.py'
'paymentdisclosure.py'
'prioritisetransaction.py'
'wallet_treestate.py'

4
qa/rpc-tests/dpow.py

@ -18,6 +18,7 @@ class DPoWTest(BitcoinTestFramework):
self.nodes = []
self.is_network_split = False
self.nodes.append(start_node(0, self.options.tmpdir))
self.sync_all()
def run_test(self):
self.nodes[0].generate(3)
@ -27,5 +28,8 @@ class DPoWTest(BitcoinTestFramework):
result = rpc.calc_MoM(2,20)
print result
result = rpc.getinfo()
assert result.notarized,42
if __name__ == '__main__':
DPoWTest().main()

Loading…
Cancel
Save