Browse Source

[tests] rename nodehandling to disconnectban

0.15
John Newbery 7 years ago
parent
commit
e367ad5b44
  1. 6
      test/functional/disconnect_ban.py
  2. 2
      test/functional/test_runner.py

6
test/functional/nodehandling.py → test/functional/disconnect_ban.py

@ -2,7 +2,7 @@
# Copyright (c) 2014-2016 The Bitcoin Core developers # Copyright (c) 2014-2016 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying # Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php. # file COPYING or http://www.opensource.org/licenses/mit-license.php.
"""Test node handling.""" """Test node disconnect and ban behavior"""
import time import time
import urllib.parse import urllib.parse
@ -15,7 +15,7 @@ from test_framework.util import (assert_equal,
stop_node, stop_node,
) )
class NodeHandlingTest(BitcoinTestFramework): class DisconnectBanTest(BitcoinTestFramework):
def __init__(self): def __init__(self):
super().__init__() super().__init__()
@ -83,4 +83,4 @@ class NodeHandlingTest(BitcoinTestFramework):
assert(found) assert(found)
if __name__ == '__main__': if __name__ == '__main__':
NodeHandlingTest().main() DisconnectBanTest().main()

2
test/functional/test_runner.py

@ -80,7 +80,7 @@ BASE_SCRIPTS= [
'multi_rpc.py', 'multi_rpc.py',
'proxy_test.py', 'proxy_test.py',
'signrawtransactions.py', 'signrawtransactions.py',
'nodehandling.py', 'disconnect_ban.py',
'decodescript.py', 'decodescript.py',
'blockchain.py', 'blockchain.py',
'disablewallet.py', 'disablewallet.py',

Loading…
Cancel
Save