MarcoFalke
08ce33f8e9
qa: Move wait_until to util
7 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
3ba2c08980
[tests] fix disconnect_ban intermittency
8 years ago
John Newbery
c9cc76dcaa
[tests] Remove is_network_split from funtional test cases
8 years ago
John Newbery
d6732d832a
[tests] update disconnect_ban.py test case to work with listbanned
8 years ago
John Newbery
d54297f1a8
[tests] disconnect_ban: add tests for disconnect-by-nodeid
8 years ago
John Newbery
5cc3ee24d2
[tests] disconnect_ban: remove dependency on urllib
8 years ago
John Newbery
12de2f252c
[tests] disconnect_ban: use wait_until instead of sleep
8 years ago
John Newbery
2077fdacd3
[tests] disconnect_ban: add logging
8 years ago
John Newbery
395561becf
[tests] disconnectban test - only use two nodes
8 years ago
John Newbery
e367ad5b44
[tests] rename nodehandling to disconnectban
8 years ago
John Newbery
d6564a26f4
[tests] fix nodehandling.py flake8 warnings
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
a012087667
Return correct error codes in setban().
...
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.
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
95bab821b3
Remove unused Python imports
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
7777994846
[qa] Fix pyton syntax in rpc tests
9 years ago
MarcoFalke
fa24439ff3
Bump copyright headers to 2015
9 years ago
Jonas Schnelli
07f70b2dde
[QA] fix netbase tests because of new CSubNet::ToString() output
9 years ago
Jonas Schnelli
f581d3d656
banlist.dat: store banlist on disk
9 years ago
Jonas Schnelli
9d79afe9a9
add RPC tests for setban & disconnectnode
10 years ago