aboutsummaryrefslogtreecommitdiff
path: root/test/functional/example_test.py
Commit message (Collapse)AuthorAgeFilesLines
* Import CInv from correct moduleChun Kuan Lee2018-10-241-1/+1
| | | | | Github-Pull: #13965 Rebased-From: a9cf5c9623ad547d9aeebea2b51c2afcfc0f3f4f
* qa: Run all tests even if wallet is not compiledMarcoFalke2018-10-241-1/+5
| | | | | Github-Pull: #14180 Rebased-From: fac95398366f644911b58f1605e6bc37fb76782d
* [qa] Use correct python index slices in example testSuhas Daftuar2018-10-241-2/+2
| | | | | Github-Pull: #14215 Rebased-From: 9dcb6763fb6851df6572e75278a41029fbfe8809
* Merge #13916: qa: wait_for_verack by defaultMarcoFalke2018-08-091-5/+1
|\ | | | | | | | | | | | | | | | | | | fa5587fe71 qa: wait_for_verack by default (MarcoFalke) Pull request description: This removes the need to do so manually every time a connection is added. Tree-SHA512: a46c92cb4df41e30778b42b9fd3dcbd8d2d82aa7503d1213cb1c1165034f648d8caee01c292e2d87d05b0f71696996eef5be8a753f35ab49e5f66b0e3bf29f21
| * qa: wait_for_verack by defaultMarcoFalke2018-08-081-5/+1
| |
* | Update copyright headers to 2018DrahtBot2018-07-271-1/+1
|/
* qa: Avoid start/stop of the network thread mid-testMarcoFalke2018-06-251-10/+0
|
* Fix typosDimitris Apostolou2018-03-211-1/+1
|
* [tests] Fix network threading in functional testsJohn Newbery2017-12-111-1/+9
| | | | | | | | | | assumevalid.py, example_test.py and p2p-acceptblocks.py add p2p_connections after the NetworkThread has been started. This isn't permitted. Fix test to restart the network thread when adding new connections. p2p-leaktest.py had a potential race condition if the NetworkThread hadn't terminated by the time we tried to restart it.
* [tests] Use network_thread_start() in tests.John Newbery2017-12-111-2/+2
|
* Remove unused Python importspracticalswift2017-12-101-1/+0
|
* [tests] Rename NodeConn and NodeConnCBJohn Newbery2017-11-291-10/+11
| | | | | NodeConn -> P2PConnection NodeConnCB -> P2PInterface
* [tests] Make NodeConnCB a subclass of NodeConnJohn Newbery2017-11-281-2/+2
| | | | | | | | | This makes NodeConnCB a subclass of NodeConn, and removes the need for the client code to know anything about the implementation details of NodeConnCB. NodeConn can now be swapped out for any other implementation of a low-level connection without changing client code.
* [tests] Add p2p connection to TestNodeJohn Newbery2017-11-081-15/+8
| | | | | | | | | | p2p connections can now be added to TestNode instances. This commit also updates the example test to use the new p2p interface in TestNode to demonstrate usage. A future commit will update the existing tests to use p2p through the TestNode.
* [tests] fixups from set_test_params()John Newbery2017-09-011-1/+1
|
* [tests] Functional tests must explicitly set num_nodesJohn Newbery2017-09-011-1/+3
|
* [tests] don't override __init__() in individual testsJohn Newbery2017-09-011-7/+3
| | | | | | | | | | 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.
* qa: Move wait_until to utilMarcoFalke2017-08-171-2/+2
|
* Merge #10705: Trivial: spelling fixesMarcoFalke2017-08-161-1/+1
|\ | | | | | | | | | | | | | | | | | | f42fc1d50 doc: spelling fixes (klemens) Pull request description: patch contains some spelling fixes ( just in comments ) as found by a bot ( http://www.misfix.org, https://github.com/ka7/misspell_fixer ). Tree-SHA512: ba6046cfcd81b0783420daae7d776be92dd7b85a593e212f8f1b4403aca9b1b6af12cef7080d4ea5ed4a14952fd25e4300109a59c414e08f5395cdb9947bb750
| * doc: spelling fixesklemens2017-08-161-1/+1
| |
* | qa: Fix inv race in example_testMarcoFalke2017-08-101-2/+6
|/
* [tests] add example testJohn Newbery2017-06-271-0/+219