From 5d72f0fe493251975b497c26344078c52054067a Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Sun, 3 Jul 2016 21:35:07 -0400 Subject: Python 3k compat. --- tests/hosts.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'tests/hosts.py') diff --git a/tests/hosts.py b/tests/hosts.py index c1305a8..9039cd8 100644 --- a/tests/hosts.py +++ b/tests/hosts.py @@ -3,19 +3,19 @@ import steuermann.run as run r = run.runner(0,0) def test_1() : - print "SECTIONS",r.cfg.sections() + print("SECTIONS",r.cfg.sections()) def test_2() : - print r.get_host_info('rhe4-32') + print(r.get_host_info('rhe4-32')) def test_3() : - print r.get_host_info('leopard') + print(r.get_host_info('leopard')) -print "XXXXXXXXXX" +print("XXXXXXXXXX") test_1() -print "XXXXXXXXXX" +print("XXXXXXXXXX") test_2() -print "XXXXXXXXXX" +print("XXXXXXXXXX") test_3() -print "XXXXXXXXXX" +print("XXXXXXXXXX") -- cgit