mirror of
https://github.com/monero-project/monero.git
synced 2025-08-19 01:57:52 -04:00
functional_tests: python3 compatibility
and add missing tests
This commit is contained in:
parent
1fac83858a
commit
6b72541dc0
7 changed files with 15 additions and 15 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue