aboutsummaryrefslogtreecommitdiffstats
path: root/functest/utils
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2017-12-11 13:44:42 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2017-12-12 05:03:45 +0100
commitdf6ee9b1222ebd81fa22ce3499e536abe7bcb05e (patch)
tree2517662ac546431a93f7c1aee1070bf55c7b29f2 /functest/utils
parent41a81e7f5ca5d3733e6e5655f5ece7859ce9f49b (diff)
Add python3 for Functest utils
It also fixes test_utils RegexMatch and SubstrMatch. Change-Id: I124aa7d0c4110dcd2f50220aae7ba9b299799e93 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'functest/utils')
-rw-r--r--functest/utils/functest_vacation.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/functest/utils/functest_vacation.py b/functest/utils/functest_vacation.py
index c2e40b07..71861ba7 100644
--- a/functest/utils/functest_vacation.py
+++ b/functest/utils/functest_vacation.py
@@ -46,8 +46,8 @@ def main():
finally:
endwin()
- print '\nSnake.PY-26lines by Kris Cieslak (defaultset.blogspot.com).'
- print 'OPNFV adaptation by Functest dream team.'
+ print('\nSnake.PY-26ines by Kris Cieslak (defaultset.blogspot.com).')
+ print('OPNFV adaptation by Functest dream team.')
score = str(len(snake) - len(body) - 1)
print ('Thanks for playing, your score: %s.' % score)
- print 'Find and fix more bugs in your real OPNFV setup!\n'
+ print('Find and fix more bugs in your real OPNFV setup!\n')