mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-05 10:28:10 +01:00
tests: Disable checking for updates
Override with CHECK_FOR_BSX_UPDATES.
This commit is contained in:
@@ -55,6 +55,7 @@ from tests.basicswap.common import (
|
||||
wait_for_unspent,
|
||||
wait_for_bid_tx_state,
|
||||
wait_for_in_progress,
|
||||
TEST_HTTP_HOST,
|
||||
TEST_HTTP_PORT,
|
||||
BASE_PORT,
|
||||
BASE_RPC_PORT,
|
||||
@@ -163,8 +164,8 @@ def prepareDir(datadir, nodeId, network_key, network_pubkey):
|
||||
"debug": True,
|
||||
"zmqhost": "tcp://127.0.0.1",
|
||||
"zmqport": BASE_ZMQ_PORT + nodeId,
|
||||
"htmlhost": "127.0.0.1",
|
||||
"htmlport": 12700 + nodeId,
|
||||
"htmlhost": TEST_HTTP_HOST,
|
||||
"htmlport": TEST_HTTP_PORT + nodeId,
|
||||
"network_key": network_key,
|
||||
"network_pubkey": network_pubkey,
|
||||
"chainclients": {
|
||||
@@ -206,6 +207,7 @@ def prepareDir(datadir, nodeId, network_key, network_pubkey):
|
||||
"min_delay_retry": 2,
|
||||
"max_delay_retry": 10,
|
||||
"restrict_unknown_seed_wallets": False,
|
||||
"check_updates": False,
|
||||
}
|
||||
with open(settings_path, "w") as fp:
|
||||
json.dump(settings, fp, indent=4)
|
||||
|
||||
@@ -119,6 +119,7 @@ def prepare_swapclient_dir(datadir, node_id, network_key, network_pubkey):
|
||||
"min_delay_retry": 2,
|
||||
"max_delay_retry": 10,
|
||||
"restrict_unknown_seed_wallets": False,
|
||||
"check_updates": False,
|
||||
}
|
||||
|
||||
with open(settings_path, "w") as fp:
|
||||
|
||||
@@ -55,6 +55,7 @@ from tests.basicswap.common import (
|
||||
wait_for_unspent,
|
||||
wait_for_in_progress,
|
||||
wait_for_bid_tx_state,
|
||||
TEST_HTTP_HOST,
|
||||
TEST_HTTP_PORT,
|
||||
BASE_PORT,
|
||||
BASE_RPC_PORT,
|
||||
@@ -169,8 +170,8 @@ def prepareDir(datadir, nodeId, network_key, network_pubkey):
|
||||
"debug": True,
|
||||
"zmqhost": "tcp://127.0.0.1",
|
||||
"zmqport": BASE_ZMQ_PORT + nodeId,
|
||||
"htmlhost": "127.0.0.1",
|
||||
"htmlport": 12700 + nodeId,
|
||||
"htmlhost": TEST_HTTP_HOST,
|
||||
"htmlport": TEST_HTTP_PORT + nodeId,
|
||||
"network_key": network_key,
|
||||
"network_pubkey": network_pubkey,
|
||||
"chainclients": {
|
||||
@@ -212,6 +213,7 @@ def prepareDir(datadir, nodeId, network_key, network_pubkey):
|
||||
"min_delay_retry": 2,
|
||||
"max_delay_retry": 10,
|
||||
"restrict_unknown_seed_wallets": False,
|
||||
"check_updates": False,
|
||||
}
|
||||
with open(settings_path, "w") as fp:
|
||||
json.dump(settings, fp, indent=4)
|
||||
|
||||
@@ -77,7 +77,7 @@ class Test(unittest.TestCase):
|
||||
prepare_nodes(3, "bitcoin")
|
||||
|
||||
def run_thread(self, client_id):
|
||||
client_path = os.path.join(TEST_PATH, "client{}".format(client_id))
|
||||
client_path = os.path.join(TEST_PATH, f"client{client_id}")
|
||||
testargs = [
|
||||
"basicswap-run",
|
||||
"-datadir=" + client_path,
|
||||
|
||||
@@ -190,6 +190,7 @@ def prepare_swapclient_dir(
|
||||
"max_delay_retry": 10,
|
||||
"debug_ui": True,
|
||||
"restrict_unknown_seed_wallets": False,
|
||||
"check_updates": False,
|
||||
}
|
||||
|
||||
if BTC_USE_DESCRIPTORS:
|
||||
|
||||
Reference in New Issue
Block a user