Prepare only Particl core by default.

This commit is contained in:
tecnovert
2021-01-05 20:10:33 +02:00
parent e41a6e34c0
commit 088e1f4411
9 changed files with 13 additions and 13 deletions

View File

@@ -35,7 +35,7 @@ class Test(unittest.TestCase):
super(Test, self).tearDownClass()
def test(self):
testargs = ['basicswap-prepare', '-datadir=' + test_path]
testargs = ['basicswap-prepare', '-datadir=' + test_path, '-withcoin=litecoin']
with patch.object(sys, 'argv', testargs):
prepareSystem.main()
@@ -43,7 +43,7 @@ class Test(unittest.TestCase):
self.assertTrue(os.path.exists(config_path))
logger.info('Test no overwrite')
testargs = ['basicswap-prepare', '-datadir=' + test_path]
testargs = ['basicswap-prepare', '-datadir=' + test_path, '-withcoin=litecoin']
with patch('sys.stderr', new=StringIO()) as fake_stderr:
with patch.object(sys, 'argv', testargs):
with self.assertRaises(SystemExit) as cm:

View File

@@ -115,7 +115,7 @@ class Test(unittest.TestCase):
'-bindir="{}"'.format(os.path.join(test_path, 'bin')),
'-portoffset={}'.format(i),
'-particl_mnemonic="{}"'.format(mnemonics[i]),
'-regtest', '-withoutcoin=litecoin', '-withcoin=monero']
'-regtest', '-withcoin=monero']
with patch.object(sys, 'argv', testargs):
prepareSystem.main()

View File

@@ -106,7 +106,7 @@ class Test(unittest.TestCase):
'-bindir="{}"'.format(os.path.join(test_path, 'bin')),
'-portoffset={}'.format(i),
'-particl_mnemonic="{}"'.format(mnemonics[0]),
'-regtest', '-withoutcoin=litecoin', '-withcoin=monero,bitcoin']
'-regtest', '-withcoin=monero,bitcoin']
with patch.object(sys, 'argv', testargs):
prepareSystem.main()