aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichal Rostecki <mrostecki@mirantis.com>2015-11-16 09:20:26 +0100
committerMichal Rostecki <mrostecki@mirantis.com>2015-11-16 20:36:47 +0100
commiteb0d0cdc9e3744c97ac67ece3f7fe49a5e37b0c2 (patch)
tree8b927e3741e644964ba11c0afc26ac9d9fb9f3d6 /tests
parentac0442a880bb440f7955b548740215617ea23f22 (diff)
downloadkolla-eb0d0cdc9e3744c97ac67ece3f7fe49a5e37b0c2.tar.gz
kolla-eb0d0cdc9e3744c97ac67ece3f7fe49a5e37b0c2.zip
Add Python 3.x support
Implements: blueprint python3 Change-Id: I1e02568907aa38dd0efcb428235004ce47d73af8
Diffstat (limited to 'tests')
-rw-r--r--tests/test_build.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_build.py b/tests/test_build.py
index cd4ee54b8..e0827eec3 100644
--- a/tests/test_build.py
+++ b/tests/test_build.py
@@ -16,6 +16,7 @@ from os import path
from oslo_log import fixture as log_fixture
from oslo_log import log as logging
from oslotest import base
+import six
import sys
sys.path.append(path.abspath(path.join(path.dirname(__file__), '../tools')))
@@ -44,7 +45,7 @@ class BuildTest(base.BaseTestCase):
"ironic-discoverd"]
failures = 0
- for image, result in bad_results.iteritems():
+ for image, result in six.iteritems(bad_results):
if image in excluded_images:
if result is 'error':
continue