aboutsummaryrefslogtreecommitdiff
path: root/tests/functional_tests/wallet.py
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-06-01 23:13:29 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-09-17 11:38:34 +0000
commit75fe790634b961f68319121c150e3fd7e981ff2e (patch)
tree4379a78931b50d5b2bac9c878ba0aaecb219e68b /tests/functional_tests/wallet.py
parentfunctional_tests: python3 compatibility (diff)
downloadmonero-75fe790634b961f68319121c150e3fd7e981ff2e.tar.xz
fix wallet python test when run with ctest
Diffstat (limited to 'tests/functional_tests/wallet.py')
-rwxr-xr-xtests/functional_tests/wallet.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/functional_tests/wallet.py b/tests/functional_tests/wallet.py
index ddf88f5ef..7e1a4f4c8 100755
--- a/tests/functional_tests/wallet.py
+++ b/tests/functional_tests/wallet.py
@@ -33,6 +33,7 @@
"""
from __future__ import print_function
+import sys
import os
import errno
@@ -319,7 +320,7 @@ class WalletTest():
languages = res.languages
languages_local = res.languages_local
for language in languages + languages_local:
- print('Creating ' + language + ' wallet')
+ sys.stdout.write('Creating ' + language + ' wallet\n')
wallet.create_wallet(filename = '', language = language)
res = wallet.query_key('mnemonic')
wallet.close_wallet()