Ryan Ofsky
95d7de0964
test: Update python tests to use named parameters instead of options objects
2 years ago
Hennadii Stepanov
306ccd4927
scripted-diff: Bump copyright headers
...
-BEGIN VERIFY SCRIPT-
./contrib/devtools/copyright_header.py update ./
-END VERIFY SCRIPT-
Commits of previous years:
- 2021: f47dda2c58
- 2020: fa0074e2d8
- 2019: aaaaad6ac9
2 years ago
MacroFake
555519d082
test: Remove wallet option from non-wallet tests
...
Review note: The changes are complete, because self.options.descriptors
is set to None in parse_args (test_framework.py).
A value of None implies -disablewallet, see the previous commit.
So if a call to add_wallet_options is missing, it will lead to a test
failure when the wallet is compiled in.
2 years ago
MarcoFalke
fac23c2114
scripted-diff: Bump copyright headers
...
The previous diff touched most files in ./test/, so bump the headers to
avoid having to touch them again for a bump later.
-BEGIN VERIFY SCRIPT-
./contrib/devtools/copyright_header.py update ./test/
-END VERIFY SCRIPT-
3 years ago
MarcoFalke
fa0b916971
scripted-diff: Use generate* from TestFramework
...
-BEGIN VERIFY SCRIPT-
sed --regexp-extended -i \
's/((self\.)?(nodes\[[^]]+\]|[a-z_]*(wallet|node)[0-9a-z_]*))\.(generate(|toaddress|block|todescriptor)(\(|, ))/self.\5\1, /g' \
$(git grep -l generate ./test | grep -v 'test_framework/' | grep -v 'feature_rbf')
-END VERIFY SCRIPT-
3 years ago
Kiminuo
bfa9309ad6
Use COINBASE_MATURITY constant in functional tests.
3 years ago
Jon Atack
6bfbc97d71
test: disallow sendtoaddress/sendmany when private keys disabled
4 years ago
Fabian Jahr
590bda79e8
scripted-diff: Remove setup_clean_chain if default is not changed
...
-BEGIN VERIFY SCRIPT-
git grep -l "self.setup_clean_chain = False" test/functional/*.py | xargs sed -i "/self.setup_clean_chain = False/d";
-END VERIFY SCRIPT-
4 years ago
practicalswift
5ac804a9eb
tests: Use a default of supports_cli=True (instead of supports_cli=False)
5 years ago
Sebastian Falbesoner
71e08ab22d
test: add executable flag for wallet_watchonly.py
5 years ago
William Casarin
72eaab073b
tests: functional watch-only wallet tests
...
These test the new watch-only defaults for rpcs with include_watchonly
and includeWatching options.
Signed-off-by: William Casarin <jb55@jb55.com>
5 years ago