lbrycrd/test/functional/test_framework
Daniel Kraft 8f5d9431a3 Add regtests for HTTP status codes.
This adds explicit tests for the returned HTTP status codes to
interface_rpc.py (for error cases) and the HTTP JSON-RPC client in
general for success.

PR 15381 brought up discussion about the HTTP status codes in general,
and the general opinion was that the current choice may not be ideal
but should not be changed to preserve compatibility with existing
JSON-RPC clients.  Thus it makes sense to actually test the current
status to ensure this desired compatibility is not broken accidentally.
2019-03-01 08:27:14 +01:00
..
__init__.py Rename rpc-tests directory to functional 2017-03-20 10:40:31 -04:00
address.py qa: Run more tests with wallet disabled 2018-09-25 18:08:08 -04:00
authproxy.py Add regtests for HTTP status codes. 2019-03-01 08:27:14 +01:00
bignum.py Remove unused variables and/or function calls 2017-08-28 15:18:14 +02:00
blocktools.py [rpc] mining: Omit uninitialized currentblockweight, currentblocktx 2019-02-12 11:34:57 -05:00
coverage.py Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
descriptors.py Descriptor checksum 2019-02-15 22:36:05 -08:00
key.py tests: Remove compatibility code not needed now when we're on Python 3 2018-04-16 09:54:27 +02:00
messages.py remove some magic mining constants in functional tests 2019-01-24 09:48:34 -05:00
mininode.py qa: Add tests for invalid message headers 2019-01-24 17:08:22 -05:00
netutil.py tests: Replace usage of tostring() with tobytes() 2018-08-13 19:05:31 -07:00
script.py [test] functional framework: add CScript hex() for Python 3.4 2018-12-12 11:09:04 +01:00
segwit_addr.py Use BIP173 addresses in segwit.py test 2017-09-28 17:29:01 -07:00
siphash.py Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
socks5.py tests: Remove unused testing code 2018-11-07 18:07:49 +01:00
test_framework.py test: Simplify create_cache 2019-02-25 11:18:24 -05:00
test_node.py qa: Remove mocktime unless required 2019-02-19 10:43:58 -05:00
util.py Address test todos by removing -txindex to nodes. 2019-02-17 21:42:08 -08:00
wallet_util.py [tests] move wallet util functions to wallet_util.py 2019-01-04 17:49:17 -08:00