aboutsummaryrefslogtreecommitdiff
path: root/test/functional/net.py
AgeCommit message (Collapse)Author
2017-11-01scripted-diff: rename assert_raises_jsonrpc to assert_raises_rpc errorJohn Newbery
-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- Github-Pull: #10853 Rebased-From: 47ba8cf71e9a3a6f7452488fc9ab3b350f0fae36
2017-10-03[tests] don't override __init__() in individual testsJohn Newbery
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. Github-Pull: #11121 Rebased-From: 5448a1471d6fc638a2220ea5a2f3782172efe14c
2017-06-05test: Add test for `getpeerinfo` `bindaddr` fieldWladimir J. van der Laan
2017-05-02Remove unused Python importspracticalswift
2017-05-02[tests] Remove is_network_split from funtional test casesJohn Newbery
2017-04-28[test] Add tests for getconnectioncount, getnettotals and pingJimmy Song
* Split run_test into 4 separate tests * Add 2 tests, getconnectioncount and getnettotals * getnettotals - Strategy of test is to get the network stats before and after a ping. The difference in bytes sent/received is the bytes needed for a ping/pong.
2017-04-20Tests: Add simple test for getaddednodeinfoJimmy Song
* net.py test adds a node and sees if it's in the getaddednodeinfo call * flake8 fixes
2017-03-25[qa] Add setnetworkactive smoke testMarcoFalke