Convert UT scripts to python3

Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
Robert Baldyga
2019-05-21 15:07:02 +02:00
parent da52091fdc
commit a671a28282
5 changed files with 100 additions and 87 deletions

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
#
# Copyright(c) 2012-2018 Intel Corporation
@@ -125,8 +125,8 @@ class TestGenerator(object):
self.tested_file_path = path
return
print self.get_main_tested_dir() + path
print "Given path not exists!"
print(os.path.join(self.get_main_tested_dir(), path))
print("Given path not exists!")
exit(1)