aboutsummaryrefslogtreecommitdiff
path: root/tests/functional_tests/sign_message.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-05-29 11:59:48 +0000
commit77594c4f4acf58656344fbb2bd84e63da58d2703 (patch)
tree73bcd2d1fa91bd0b0bacbad22385c38e50e636b9 /tests/functional_tests/sign_message.py
parentMerge pull request #5548 (diff)
downloadmonero-77594c4f4acf58656344fbb2bd84e63da58d2703.tar.xz
functional_tests: fix python3 compatibility
Also add missing bans test to the default tests
Diffstat (limited to '')
-rwxr-xr-xtests/functional_tests/sign_message.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/functional_tests/sign_message.py b/tests/functional_tests/sign_message.py
index 4c3ec3588..de8f0cee2 100755
--- a/tests/functional_tests/sign_message.py
+++ b/tests/functional_tests/sign_message.py
@@ -28,7 +28,7 @@
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
# THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-import time
+from __future__ import print_function
"""Test message signing/verification RPC calls
@@ -46,7 +46,7 @@ class MessageSigningTest():
self.check_signing()
def create(self):
- print 'Creating wallets'
+ print('Creating wallets')
seeds = [
'velvet lymph giddy number token physics poetry unquoted nibs useful sabotage limits benches lifestyle eden nitrogen anvil fewest avoid batch vials washing fences goat unquoted',
'peeled mixture ionic radar utopia puddle buying illness nuns gadget river spout cavernous bounced paradise drunk looking cottage jump tequila melting went winter adjust spout',
@@ -66,7 +66,7 @@ class MessageSigningTest():
assert res.seed == seeds[i]
def check_signing(self):
- print 'Signing/verifing messages'
+ print('Signing/verifing messages')
messages = ['foo', '']
for message in messages:
res = self.wallet[0].sign(message)