aboutsummaryrefslogtreecommitdiff
path: root/tests/functional_tests/address_book.py
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-05-29 11:45:25 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-09-17 11:38:33 +0000
commit6b72541dc01de559d5d09daffb4cf2578bb27067 (patch)
treeb987ecb8325e90f05775be9c3205a08b7c7d6f8f /tests/functional_tests/address_book.py
parentfunctional_tests: pop exactly what we need to test before testing (diff)
downloadmonero-6b72541dc01de559d5d09daffb4cf2578bb27067.tar.xz
functional_tests: python3 compatibility
and add missing tests
Diffstat (limited to 'tests/functional_tests/address_book.py')
-rwxr-xr-xtests/functional_tests/address_book.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/functional_tests/address_book.py b/tests/functional_tests/address_book.py
index e6c57896b..8d8711ffc 100755
--- a/tests/functional_tests/address_book.py
+++ b/tests/functional_tests/address_book.py
@@ -32,6 +32,7 @@
"""Test wallet address book RPC
"""
+from __future__ import print_function
from framework.wallet import Wallet
class AddressBookTest():
@@ -40,7 +41,7 @@ class AddressBookTest():
self.test_address_book()
def create(self):
- print 'Creating wallet'
+ print('Creating wallet')
wallet = Wallet()
# close the wallet if any, will throw if none is loaded
try: wallet.close_wallet()
@@ -51,7 +52,7 @@ class AddressBookTest():
assert res.seed == seed
def test_address_book(self):
- print 'Testing address book'
+ print('Testing address book')
wallet = Wallet()
# empty at start