Commit Graph

3 Commits

Author SHA1 Message Date
John Newbery
801d2ae924 [tests] don't override __init__() in individual tests
Almost all test scripts currently need to override the __init__()
method. When they do that they need to call into super().__init__() as
the base class does some generic initialization.

This commit makes the base class __init__() call into set_test_params()
method. Individual test cases can override set_test_params() to setup
their test parameters.

Github-Pull: #11121
Rebased-From: 5448a1471d
2017-10-03 18:43:43 +02:00
Cristian Mircea Messel
847c75ec64 Add getmininginfo functional test
Github-Pull: #11150
Rebased-From: 4f2905b76b
2017-10-03 18:41:34 +02:00
John Newbery
11ba8e9cdd [tests] rename getblocktemplate_proposals.py to mining.py 2017-06-27 16:02:18 +01:00