aboutsummaryrefslogtreecommitdiff
path: root/tests/hosts.py
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2016-07-03 21:35:07 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2016-07-03 21:35:07 -0400
commit5d72f0fe493251975b497c26344078c52054067a (patch)
tree6cc2ca323c00d19aefcd816de071e96e32953726 /tests/hosts.py
parentf2312d9701a560544006c9e2e0067413ac9f605e (diff)
downloadsteuermann-5d72f0fe493251975b497c26344078c52054067a.tar.gz
Python 3k compat.
Diffstat (limited to 'tests/hosts.py')
-rw-r--r--tests/hosts.py14
1 files changed, 7 insertions, 7 deletions
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")