diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-04-08 19:47:00 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-04-08 19:47:08 +0200 |
commit | 27278dffe877ab95488f2e0fada53edb9590487f (patch) | |
tree | 635e22da3a0c90a0a82f0434d4e503aa64366604 /src/httprpc.cpp | |
parent | bd42b85e8b4214e33fca9690e926f608b8fae1db (diff) | |
parent | c9cce0a7f66e5abe6a94704eb478e0dc52a29f13 (diff) | |
download | bitcoin-27278dffe877ab95488f2e0fada53edb9590487f.tar.xz |
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
Diffstat (limited to 'src/httprpc.cpp')
0 files changed, 0 insertions, 0 deletions