dash/test/functional/test_framework
Wladimir J. van der Laan 27278dffe8
Merge #12856: Tests: Add Metaclass for BitcoinTestFramework
c9cce0a Tests: Add Metaclass for BitcoinTestFramework (Will Ayd)

Pull request description:

  BitcoinTestFramework instructs developers in its docstring to override
  `set_test_params` and `run_test` in subclasses while being sure NOT to
  override `__init__` and `main` . This change adds a metaclass to ensure
  that developers adhere to that protocol, raising a ``TypeError`` in
  instances where they have not.

  closes #12835

Tree-SHA512: 5a47a7ead1f18361138cad4374747c4a8f29d25506f7b2c2a8c1c966a0b65e5ccf7317f9a078df8680fdab5d3fb71fee46a159c9f381878a3683c1e9f874abbe
2018-04-08 19:47:08 +02:00
..
__init__.py
address.py Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
authproxy.py Remove assigned but never used local variables 2018-03-29 17:47:12 +02:00
bignum.py Remove unused variables and/or function calls 2017-08-28 15:18:14 +02:00
blocktools.py scripted-diff: change signrawtransaction to signrawtransactionwithwallet in tests 2018-02-17 11:42:01 -05:00
coverage.py Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
key.py [tests] Don't subclass from object for Python 3 2017-10-16 21:46:23 -04:00
messages.py rpc: Add testmempoolaccept 2018-03-24 11:17:08 -04:00
mininode.py [tests] Stop feature_block.py from blowing up memory. 2018-04-02 15:40:40 -04:00
netutil.py qa: Fix some tests to work on native windows 2018-03-06 18:42:19 -05:00
script.py qa: Fix python TypeError in script.py 2018-02-18 23:42:01 -05:00
segwit_addr.py Use BIP173 addresses in segwit.py test 2017-09-28 17:29:01 -07:00
siphash.py Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
socks5.py Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
test_framework.py Merge #12856: Tests: Add Metaclass for BitcoinTestFramework 2018-04-08 19:47:08 +02:00
test_node.py Merge #12904: [qa] Ensure bitcoind processes are cleaned up when tests end 2018-04-08 17:40:28 +02:00
util.py Merge #11773: [tests] Change feature_block.py to use BitcoinTestFramework 2018-03-29 17:35:43 +02:00