Add python3 support

This commit is contained in:
Safa Ariman
2019-06-06 01:31:19 +03:00
parent 68344a2d87
commit c90351220c
146 changed files with 806 additions and 1082 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ class ConstantTestCase(unittest.TestCase):
constants = ctx.const
constDict = {"actions": "actions.py", "setup":"setup","metadata":"metadata.xml"}
for i in constDict.keys():
for i in list(constDict.keys()):
if hasattr(constants,i):
value = getattr(constants,i)
self.assertEqual(value, constDict[i])