aboutsummaryrefslogtreecommitdiff
path: root/test/functional/feature_nulldummy.py
Commit message (Collapse)AuthorAgeFilesLines
* [tests] Remove deprecated addwitnessaddress call from feature_nulldummyJohn Newbery2018-09-231-2/+2
| | | | | addwitnessaddress is deprecated. Replace the call to addwitnessaddress with a call to getnewaddress(address_type='p2sh-segwit')
* [test] Fix flake8 warnings in testsJohn Newbery2018-09-231-7/+5
| | | | | Fix all flake8 warnings in tests that are about to be updated to remove addwitnessaddress
* qa: Run all tests even if wallet is not compiledMarcoFalke2018-09-101-1/+4
|
* Merge #13054: tests: Enable automatic detection of undefined names in Python ↵MarcoFalke2018-08-131-3/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tests scripts. Remove wildcard imports. 68400d8b96 tests: Use explicit imports (practicalswift) Pull request description: Enable automatic detection of undefined names in Python tests scripts. Remove wildcard imports. Wildcard imports make it unclear which names are present in the namespace, confusing both readers and many automated tools. An additional benefit of not using wildcard imports in tests scripts is that readers of a test script then can infer the rough testing scope just by looking at the imports. Before this commit: ``` $ contrib/devtools/lint-python.sh | head -10 ./test/functional/feature_rbf.py:8:1: F403 'from test_framework.util import *' used; unable to detect undefined names ./test/functional/feature_rbf.py:9:1: F403 'from test_framework.script import *' used; unable to detect undefined names ./test/functional/feature_rbf.py:10:1: F403 'from test_framework.mininode import *' used; unable to detect undefined names ./test/functional/feature_rbf.py:15:12: F405 bytes_to_hex_str may be undefined, or defined from star imports: test_framework.mininode, test_framework.script, test_framework.util ./test/functional/feature_rbf.py:17:58: F405 CScript may be undefined, or defined from star imports: test_framework.mininode, test_framework.script, test_framework.util ./test/functional/feature_rbf.py:25:13: F405 COIN may be undefined, or defined from star imports: test_framework.mininode, test_framework.script, test_framework.util ./test/functional/feature_rbf.py:26:31: F405 satoshi_round may be undefined, or defined from star imports: test_framework.mininode, test_framework.script, test_framework.util ./test/functional/feature_rbf.py:26:60: F405 COIN may be undefined, or defined from star imports: test_framework.mininode, test_framework.script, test_framework.util ./test/functional/feature_rbf.py:30:41: F405 satoshi_round may be undefined, or defined from star imports: test_framework.mininode, test_framework.script, test_framework.util ./test/functional/feature_rbf.py:30:68: F405 COIN may be undefined, or defined from star imports: test_framework.mininode, test_framework.script, test_framework.util $ ``` After this commit: ``` $ contrib/devtools/lint-python.sh | head -10 $ ``` Tree-SHA512: 3f826d39cffb6438388e5efcb20a9622ff8238247e882d68f7b38609877421b2a8e10e9229575f8eb6a8fa42dec4256986692e92922c86171f750a0e887438d9
| * tests: Use explicit importspracticalswift2018-08-131-3/+4
| |
* | qa: blocktools enforce named args for amountMarcoFalke2018-08-091-6/+6
|/
* [Tests] Cleanup extra instances of create_transactionConor Scott2018-08-091-19/+7
|
* Update copyright headers to 2018DrahtBot2018-07-271-1/+1
|
* qa: Avoid start/stop of the network thread mid-testMarcoFalke2018-06-251-2/+1
|
* policy: Treat segwit as always activeMarcoFalke2018-05-291-1/+1
|
* scripted-diff: change signrawtransaction to signrawtransactionwithwallet in ↵Andrew Chow2018-02-171-1/+1
| | | | | | | | | tests -BEGIN VERIFY SCRIPT- sed -i 's/\<signrawtransaction\>/signrawtransactionwithwallet/g' test/functional/*.py sed -i 's/\<signrawtransaction\>/signrawtransactionwithwallet/g' test/functional/test_framework/*.py -END VERIFY SCRIPT-
* Consistently use FormatStateMessage in RPC error outputBen Woosley2018-02-081-1/+1
| | | | | | This will include the error code and debug output as well as the reason string. See #11955 for the motivation.
* [tests] Rename feature_* functional tests.Anthony Towns2018-01-251-0/+133