aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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