mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-05 10:28:10 +01:00
Fix lint and add fallback fee to bitcoin.conf.
This commit is contained in:
12
tests/basicswap/mnemonics.py
Normal file
12
tests/basicswap/mnemonics.py
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright (c) 2020 tecnovert
|
||||
# Distributed under the MIT software license, see the accompanying
|
||||
# file LICENSE.txt or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
mnemonics = [
|
||||
'abandon baby cabbage dad eager fabric gadget habit ice kangaroo lab absorb',
|
||||
'actuel comédie poésie noble facile éprouver brave cellule rotule académie hilarant chambre',
|
||||
'ちしき いてざ きおち あしあと ぽちぶくろ こえる さつえい むえき あける ほんき むさぼる ねいろ',
|
||||
]
|
||||
@@ -6,7 +6,6 @@
|
||||
# file LICENSE.txt or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
"""
|
||||
|
||||
export TEST_RELOAD_PATH=/tmp/test_basicswap
|
||||
mkdir -p ${TEST_RELOAD_PATH}/bin/{particl,bitcoin}
|
||||
cp ~/tmp/particl-0.19.1.1-x86_64-linux-gnu.tar.gz ${TEST_RELOAD_PATH}/bin/particl
|
||||
@@ -34,6 +33,7 @@ from urllib import parse
|
||||
from basicswap.rpc import (
|
||||
callrpc_cli,
|
||||
)
|
||||
from tests.basicswap.mnemonics import mnemonics
|
||||
|
||||
import basicswap.config as cfg
|
||||
import bin.basicswap_prepare as prepareSystem
|
||||
@@ -106,12 +106,6 @@ class Test(unittest.TestCase):
|
||||
def setUpClass(cls):
|
||||
super(Test, cls).setUpClass()
|
||||
|
||||
mnemonics = [
|
||||
'abandon baby cabbage dad eager fabric gadget habit ice kangaroo lab absorb',
|
||||
'actuel comédie poésie noble facile éprouver brave cellule rotule académie hilarant chambre',
|
||||
'ちしき いてざ きおち あしあと ぽちぶくろ こえる さつえい むえき あける ほんき むさぼる ねいろ',
|
||||
]
|
||||
|
||||
for i in range(3):
|
||||
client_path = os.path.join(test_path, 'client{}'.format(i))
|
||||
config_path = os.path.join(client_path, cfg.CONFIG_FILENAME)
|
||||
|
||||
Reference in New Issue
Block a user