Merge pull request #5504

eeca5ca epee: support unicode in parsed strings (moneromooo-monero)
3e11bb5 functional_tests: test creating wallets with local language names (moneromooo-monero)
This commit is contained in:
luigi1111 2019-08-17 15:22:46 -05:00
commit 14602ba5ff
No known key found for this signature in database
GPG key ID: F4ACA0183641E010
4 changed files with 81 additions and 24 deletions

View file

@ -198,8 +198,9 @@ class WalletAddressTest():
try: wallet.close_wallet()
except: pass
languages = res.languages
for language in languages:
print('Creating ' + str(language) + ' wallet')
languages_local = res.languages_local
for language in languages + languages_local:
print('Creating ' + language.encode('utf8') + ' wallet')
wallet.create_wallet(filename = '', language = language)
res = wallet.query_key('mnemonic')
wallet.close_wallet()