MarcoFalke
08334b73be
qa: Pad scriptPubKeys to get minimum sized txs
...
Github-Pull: #11423
Rebased-From: 364bae5f7a6b16eef63990154e48f19e7e693039
7 years ago
Anthony Towns
ca6523d0c8
[tests] Rename feature_* functional tests.
7 years ago
Akira Takizawa
595a7bab23
Increment MIT Licence copyright header year on files modified in 2017
7 years ago
Suhas Daftuar
6d51eaefe9
qa: Fix race condition in sendheaders.py
7 years ago
Suhas Daftuar
c96b2e4f09
qa: Fix replace-by-fee race condition failures
7 years ago
John Newbery
47ba8cf71e
scripted-diff: rename assert_raises_jsonrpc to assert_raises_rpc error
...
-BEGIN VERIFY SCRIPT-
sed -i 's/assert_raises_jsonrpc/assert_raises_rpc_error/g' test/functional/*py test/functional/test_framework/*py
-END VERIFY SCRIPT-
7 years ago
Gregory Sanders
1088b5322d
add functional test for mempoolreplacement command line arg
7 years ago
John Newbery
5448a1471d
[tests] don't override __init__() in individual tests
...
Almost all test scripts currently need to override the __init__()
method. When they do that they need to call into super().__init__() as
the base class does some generic initialization.
This commit makes the base class __init__() call into set_test_params()
method. Individual test cases can override set_test_params() to setup
their test parameters.
7 years ago
practicalswift
2e6080bbf3
Remove unused variables and/or function calls
7 years ago
John Newbery
301fd51b9e
[tests] fix replace_by_fee.py
...
fb915d5b18
changed the optIntoRbf field in
fundrawtransaction to replaceable. This commit fixes up
replace-by-fee.py to use the new option name.
7 years ago
practicalswift
9f841a6c3d
[tests] Remove accidental trailing semicolon
8 years ago
Jonas Schnelli
5d26244148
[Tests] extend the replace-by-fee test to cover RPC rawtx features
8 years ago
Luke Dashjr
870824e919
RPC/Mining: Restore API compatibility for prioritisetransaction
...
Breaking API serves no purpose other than to be incompatible with older versions and other implementations that do support priority
8 years ago
John Newbery
c9cc76dcaa
[tests] Remove is_network_split from funtional test cases
8 years ago
John Newbery
c28ee91db0
Rename rpc-tests directory to functional
8 years ago
John Newbery
00902c48cd
Rename qa directory to test
8 years ago
John Newbery
c9bd0f6421
Fix RPC failure testing (2 of 2)
...
Commit 9db8eecac1
improved the
assert_raises_jsonrpc() function for better testing of RPC failure
modes. This commit completes the job by removing remaining broken
try-except RPC testing from the individual test cases and replacing it
with calls to assert_raises_jsonrpc().
8 years ago
John Newbery
64c080051b
Use logging in individual tests
8 years ago
John Newbery
b0dec4a04a
Remove manual debug settings in qa tests.
...
-debug and -logtimemicros are now set by default. Individual test cases
no longer need to set these parameters manually.
8 years ago
Alex Morcos
f9b9371c60
[rpc] Remove priorityDelta from prioritisetransaction
...
This a breaking API change to the prioritisetransaction RPC call which previously required exactly three arguments and now requires exactly two (hash and feeDelta). The function prioritiseTransaction is also updated.
8 years ago
John Newbery
3f95a806b1
Fix docstrings in qa tests
...
This commit fixes the module-level docstrings for the tests and helper
modules in qa. Many of these tests were uncommented previously - this
commit ensures that every test case has at least a minimum level of
commenting.
8 years ago
practicalswift
ac4a095306
Remove unused Python variables
8 years ago
Alex Morcos
2a99522bbf
remove relaypriority from rpc tests
8 years ago
MarcoFalke
fac9349798
[qa] Remove hardcoded "4 nodes" from test_framework
9 years ago
MarcoFalke
fa389d4edc
[qa] Switch to py3
9 years ago
MarcoFalke
faa41ee204
[qa] py2: Unfiddle strings into bytes explicitly
9 years ago
MarcoFalke
fa2cea163b
[qa] rpc-tests: Properly use integers, floats
9 years ago
MarcoFalke
fad8cfb893
[qa] mininode: Add and use CONSTs
9 years ago
MarcoFalke
7777994846
[qa] Fix pyton syntax in rpc tests
9 years ago
Suhas Daftuar
9ef2a25603
Update replace-by-fee logic to use fee deltas
9 years ago
Suhas Daftuar
cfdc66280f
Explicitly set chain limits in replace-by-fee test
9 years ago
Suhas Daftuar
97203f5606
Port test to rpc-test framework
9 years ago