aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/nodehandling.py
AgeCommit message (Collapse)Author
2017-03-07Return correct error codes in setban().John Newbery
The setban() RPC was returning misleading or incorrect error codes (for example RPC_CLIENT_NODE_ALREADY_ADDED when an invalid IP address was entered). This commit fixes those error codes: - RPC_CLIENT_INVALID_IP_OR_SUBNET should be returned if the client enters an invalid IP address or subnet. This commit also updates the test cases to explicitly test the error code. This commit also adds a testcase for trying to setban on an invalid subnet.
2017-02-23Fix docstrings in qa testsJohn Newbery
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.
2017-01-13Remove unused Python importspracticalswift
2016-05-15[qa] Remove hardcoded "4 nodes" from test_frameworkMarcoFalke
2016-05-05[qa] Switch to py3MarcoFalke
2016-01-13[qa] Fix pyton syntax in rpc testsMarcoFalke
2015-12-13Bump copyright headers to 2015MarcoFalke
2015-09-16[QA] fix netbase tests because of new CSubNet::ToString() outputJonas Schnelli
2015-07-02banlist.dat: store banlist on diskJonas Schnelli
2015-06-17add RPC tests for setban & disconnectnodeJonas Schnelli