MarcoFalke
cbdabef35e
qa: Fix wallet_listreceivedby race
...
Github-Pull: #13304
Rebased-From: fa865efa4a21ae08be8b4c390b7661182e0b415b
7 years ago
Anthony Towns
90600bc7db
[tests] Rename wallet_* functional tests.
7 years ago
Akira Takizawa
595a7bab23
Increment MIT Licence copyright header year on files modified in 2017
7 years ago
John Newbery
5e0ba8f8cd
[wallet] getreceivedbyaddress should return error if address is not mine
7 years ago
John Newbery
ea0cd24f7d
[tests] Tidy up receivedby.py
...
- Fix flake8 warnings
- Remove the useless get_sub_array_from_array() function
- Reduce runtime for receivedby.py by about half by only using two nodes
7 years ago
John Newbery
7148b74dc3
[tests] Functional tests must explicitly set num_nodes
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
John Newbery
36b6268670
[tests] TestNode: separate add_node from start_node
...
Separates the act of creating a TestNode object from starting the node.
The test_framework now keeps track of its list of TestNodes, and test
writers can call start_node() and stop_node() without having to update
the self.nodes list.
7 years ago
John Newbery
0d473c539e
[tests] move mocktime property and functions to BitcoinTestFramework
8 years ago
John Newbery
d8c218f9c2
[tests] Functional tests call self.start_node(s) and self.stop_node(s)
...
This commit changes the individual test scripts to call the
start_node(s) and stop_node(s) methods in BitcoinTestFramework.
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
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
MarcoFalke
fac9349798
[qa] Remove hardcoded "4 nodes" from test_framework
9 years ago
MarcoFalke
fa389d4edc
[qa] Switch to py3
9 years ago
Joao Fonseca
fa942c755a
Move method to check matches within arrays on util.py
9 years ago
ptschip
39a525c21f
Do not download transactions during inital sync
9 years ago
MarcoFalke
fa24439ff3
Bump copyright headers to 2015
9 years ago
Jonas Schnelli
64937fe51a
[QA] restructure rpc tests directory
...
* move non-test classes to subdir `test-framework`
10 years ago
Pieter Wuille
6b04508e37
Introduce separate 'generate' RPC call
10 years ago
Matt Corallo
e3f315a0a5
Fix python usage for arch's broken maintainers
10 years ago
Suhas Daftuar
7e615f5228
Fixed mempool sync after sending a transaction
10 years ago
Daniel Kraft
dcb98466b4
Extend getchaintips RPC test.
...
Add the capability to simulate network splits to the RPC test framework
and use it to do more extensive testing of 'getchaintips'.
10 years ago
Michael Ford
214091d584
Update license in pull-tester and rpc-tests
...
Add missing copyright/license header where necessary
10 years ago
Gavin Andresen
e8097f7df1
Refactor common RPC test code to BitcoinTestFramework base class
...
Inspired by #3956 , with a little more flexibility built in.
I didn't touch rpcbind_test.py, because it only runs on Linux.
11 years ago
Alon Muroch
3f9a01995e
added list/get received by address/ account tests
...
fixed some annotations and cleaned a bit
received by tests
d
11 years ago