mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 04:22:55 +01:00
[tests] rename nodehandling to disconnectban
This commit is contained in:
parent
d6564a26f4
commit
e367ad5b44
@ -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()
|
@ -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…
Reference in New Issue
Block a user