|
@@ -95,7 +95,7 @@ class TestSuiteInput(TestSuiteBase):
|
|
|
def get_seed_from_stdin(self):
|
|
|
self.spawn('',msg_only=True)
|
|
|
from subprocess import run,PIPE
|
|
|
- cmd = ['python3','cmds/mmgen-walletconv','--in-fmt=words','--out-fmt=bip39','--outdir=test/trash']
|
|
|
+ cmd = ['python3','cmds/mmgen-walletconv','--in-fmt=words','--out-fmt=words','--outdir=test/trash']
|
|
|
mn = sample_mn['mmgen']['mn']
|
|
|
os.environ['MMGEN_TEST_SUITE'] = ''
|
|
|
|
|
@@ -109,6 +109,8 @@ class TestSuiteInput(TestSuiteBase):
|
|
|
set_vt100()
|
|
|
os.environ['MMGEN_TEST_SUITE'] = '1'
|
|
|
imsg(cp.stderr.decode().strip())
|
|
|
+ res = get_data_from_file(cfg,'test/trash/A773B05C[128].mmwords',silent=True).strip()
|
|
|
+ assert res == mn, f'{res} != {mn}'
|
|
|
return 'ok' if b'written to file' in cp.stderr else 'error'
|
|
|
|
|
|
def get_passphrase_ui(self):
|