Refactor common RPC test code to BitcoinTestFramework base class

Inspired by #3956, with a little more flexibility built in.

I didn't touch rpcbind_test.py, because it only runs on Linux.
This commit is contained in:
Gavin Andresen
2014-07-08 12:07:23 -04:00
parent ae28a7c72d
commit e8097f7df1
6 changed files with 316 additions and 482 deletions

View File

@@ -6,8 +6,8 @@ Git subtree of [https://github.com/jgarzik/python-bitcoinrpc](https://github.com
Changes to python-bitcoinrpc should be made upstream, and then
pulled here using git subtree.
### [skeleton.py](skeleton.py)
Copy this to create new regression tests.
### [test_framework.py](test_framework.py)
Base class for new regression tests.
### [listtransactions.py](listtransactions.py)
Tests for the listtransactions RPC call.