final rebranding to NYC3
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@ request is opened. All sets of tests can also be run locally.
|
||||
|
||||
# Running tests locally
|
||||
|
||||
Before tests can be run locally, Bitcoin Core must be built. See the [building instructions](/doc#building) for help.
|
||||
Before tests can be run locally, NYC3 must be built. See the [building instructions](/doc#building) for help.
|
||||
|
||||
|
||||
### Functional tests
|
||||
|
||||
@@ -92,7 +92,7 @@ implements the test logic.
|
||||
|
||||
- `P2PConnection` is the class used to connect to a bitcoind. `P2PInterface`
|
||||
contains the higher level logic for processing P2P payloads and connecting to
|
||||
the Bitcoin Core node application logic. For custom behaviour, subclass the
|
||||
the NYC3 node application logic. For custom behaviour, subclass the
|
||||
P2PInterface object and override the callback methods.
|
||||
|
||||
- Can be used to write tests where specific P2P protocol behavior is tested.
|
||||
|
||||
@@ -23,7 +23,7 @@ class FilelockTest(BitcoinTestFramework):
|
||||
self.log.info("Using datadir {}".format(datadir))
|
||||
|
||||
self.log.info("Check that we can't start a second bitcoind instance using the same datadir")
|
||||
expected_msg = "Error: Cannot obtain a lock on data directory {}. Bitcoin Core is probably already running.".format(datadir)
|
||||
expected_msg = "Error: Cannot obtain a lock on data directory {}. NYC3 is probably already running.".format(datadir)
|
||||
self.nodes[1].assert_start_raises_init_error(extra_args=['-datadir={}'.format(self.nodes[0].datadir), '-noserver'], expected_msg=expected_msg)
|
||||
|
||||
if self.is_wallet_compiled():
|
||||
|
||||
@@ -16,7 +16,7 @@ class TestBitcoinCli(BitcoinTestFramework):
|
||||
"""Main test logic"""
|
||||
|
||||
cli_response = self.nodes[0].cli("-version").send_cli()
|
||||
assert("Bitcoin Core RPC client version" in cli_response)
|
||||
assert("NYC3 RPC client version" in cli_response)
|
||||
|
||||
self.log.info("Compare responses from getwalletinfo RPC and `bitcoin-cli getwalletinfo`")
|
||||
if self.is_wallet_compiled():
|
||||
|
||||
@@ -219,7 +219,7 @@ class P2PConnection(asyncio.Protocol):
|
||||
if not self._transport:
|
||||
return
|
||||
# Python <3.4.4 does not have is_closing, so we have to check for
|
||||
# its existence explicitly as long as Bitcoin Core supports all
|
||||
# its existence explicitly as long as NYC3 supports all
|
||||
# Python 3.4 versions.
|
||||
if hasattr(self._transport, 'is_closing') and self._transport.is_closing():
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user