From eb0d0cdc9e3744c97ac67ece3f7fe49a5e37b0c2 Mon Sep 17 00:00:00 2001 From: Michal Rostecki Date: Mon, 16 Nov 2015 09:20:26 +0100 Subject: Add Python 3.x support Implements: blueprint python3 Change-Id: I1e02568907aa38dd0efcb428235004ce47d73af8 --- tests/test_build.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests') 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 -- cgit v1.2.3