Homu
3caa784970
Auto merge of #2778 - syd0:add-python-assert, r=daira
...
Add assert_raises_message to the python test framework.
2020-09-03 14:26:54 +00:00
James O'Beirne
d38a012970
Add basic coverage reporting for RPC tests
...
Thanks to @MarcoFalke @dexX7 @laanwj for review.
Zcash: Includes all the backend changes, but excludes the --coverage flag
added to rpc-tests.py as we have not yet migrated away from rpc-tests.sh.
2020-03-24 21:51:51 +13:00
mdr0id
fdac835b13
update comment regarding prior py2 exception
2020-02-09 12:38:01 -08:00
mdr0id
9592ded3cc
clean up conventions and whitespace
2020-02-09 08:44:23 -08:00
mdr0id
c7113bd6f1
Update json to simplejson to remove unicode and str issue from py2 to py3
2020-02-09 08:18:00 -08:00
mdr0id
ff5a47acfa
clean up
2020-02-09 08:17:32 -08:00
mdr0id
2d4f4f0b13
remove debug lines from prior commits
2020-02-09 08:17:32 -08:00
mdr0id
51c020bc68
Use upstream encoding for encodeDecimal
2020-02-09 08:15:43 -08:00
mdr0id
af903084c7
clean up
2020-02-09 08:15:43 -08:00
mdr0id
7b81c00ee4
clean-up imports, keep string notation consistent, remove spacing
2020-02-09 08:15:43 -08:00
mdr0id
75c199ead4
correct update to python3
2020-02-09 08:15:43 -08:00
mdr0id
623f3eb9da
make import urlparse module consistent,httplib update to py3
2020-02-09 08:15:43 -08:00
mdr0id
843df2a31d
update to py3 conventions, clean up code to be upstream consistent
2020-02-09 08:15:43 -08:00
mdr0id
82162e7d20
Update rpc-test/test_framework to Py3 convention,modules,encoding
2020-02-09 08:14:21 -08:00
mdr0id
bda88213a6
update test_framework modules
2020-02-09 08:09:31 -08:00
Jack Grigg
cfdf040332
test: Fix AuthServiceProxy closed conn detection
2019-08-16 20:19:18 +01:00
syd
31436e4372
Add assert_raises_message to the python test framework.
2017-12-12 20:04:13 -05:00
Daira Hopwood
80cbdbc749
Fix an error reporting bug due to BrokenPipeError and ConnectionResetError not existing in Python 2.
...
refs #2263
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2017-04-14 21:40:30 +01:00
Wladimir J. van der Laan
e93a3e1945
test: Avoid ConnectionResetErrors during RPC tests
...
This is necessary on FreeBSD and MacOSX, at least.
See https://github.com/bitcoin/bitcoin/pull/8834#issuecomment-250450213
2017-03-24 18:43:40 +13:00
Pieter Wuille
2edad86b2d
Fix interrupted HTTP RPC connection workaround for Python 3.5+
2017-03-24 18:43:21 +13:00
Wladimir J. van der Laan
7b41e725d0
Make RPC tests cope with server-side timeout between requests
...
Python's httplib does not graciously handle disconnections from the http server, resulting in BadStatusLine errors.
See https://bugs.python.org/issue3566 "httplib persistent connections violate MUST in RFC2616 sec 8.1.4."
This was fixed in Python 3.5.
Work around it for now.
2017-03-24 09:03:59 +13:00
Sean Bowe
730790f7a4
Added primitive zcrawkeygen/zcrawpour implementations
2016-01-19 14:36:04 -07:00
Jonas Schnelli
7b7f258396
rpc-tests: remove python-bitcoinrpc directory
...
place authproxy.py at same level as other utility classes
2015-05-21 21:22:22 +02:00