Kris Nuttycombe
035a26b674
Replace setup_clean_chain with cache_behavior in rpc test init.
2022-07-18 09:00:34 -06:00
Kris Nuttycombe
940dd0d426
scripted-diff: Add 2019-2022 copyright headers for files added/modified in 2019
...
-BEGIN VERIFY SCRIPT-
grep -l "Copyright" $(grep -L "The Zcash developers" $(git diff --name-only --diff-filter=ACM 8df7a073ce13ec057b94b5a813bb5534cdfa6809..6a08c225674df23f1c7f214bcb94732dba688d39 -- src/ test/ zcutil/ qa/)) | xargs -I {} sed -i"" -e "s#\(\(.*\)Copyright (c) .* The Bitcoin Core developers\)#\1\n\2Copyright (c) 2019-2022 The Zcash developers#" {}
-END VERIFY SCRIPT-
2022-05-11 17:29:59 -06:00
MarcoFalke
b67c86abdb
[qa] py2: Unfiddle strings into bytes explicitly
...
(cherry picked from commit bitcoin/bitcoin@faa41ee204 )
Zcash: Excluding RPC tests or framework code we don't have.
2021-08-13 16:49:46 +01:00
Dimitris Apostolou
f459e43dc9
Update links
2020-12-13 11:24:44 +02:00
MarcoFalke
818d2de39b
[qa] Remove hardcoded "4 nodes" from test_framework
...
Zcash: Applied changes to our RPC tests.
2020-11-21 02:34:47 +00:00
MarcoFalke
15721275d0
[qa] Switch to py3
...
Zcash: We already did this, so most of the backported changes are
ancillary (license header updates and style), but a few are relevant.
2020-11-21 02:33:27 +00:00
Wladimir J. van der Laan
5295079b2e
test: Explicitly set encoding to utf8 when opening text files
...
These are text files but their encoding does not depend on the locale.
Not all of them require utf8 but it is better to fix it at something
to remove potential unpredictability.
This is necessary on FreeBSD where no locale is set by default,
and apparently Python defaults not only the terminal encoding to the locale
but that of every text file. So without LOCALE environment it defaults text
file encoding to ASCII. This causes problems with e.g. `bitcoin.conf`.
Luckily the locale doesn't affect the default encoding for str.encode() and
bytes.decode() on Python 3, so this is the only change necessary.
2020-11-09 22:59:04 +00:00
mdr0id
8f859cbf85
fix pyflakes errors
2020-02-09 08:18:00 -08:00
mdr0id
44834ed01c
Clean up import calls
2020-02-09 08:17:32 -08:00
mdr0id
af903084c7
clean up
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
MarcoFalke
6d2629dd64
[doc] Fix markdown
2019-12-17 12:18:50 -06:00
Jack Grigg
1088866455
pyflakes fixes
2019-12-04 19:16:20 +00:00
Gregory Sanders
f4d9e06a90
Added additional config option for multiple RPC users.
2019-12-04 17:18:43 +00:00