diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2017-12-11 06:47:33 +0100 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2017-12-11 06:47:33 +0100 |
commit | 41a81e7f5ca5d3733e6e5655f5ece7859ce9f49b (patch) | |
tree | bc72a160c838239a535b86669bed3df125690154 /functest/tests/unit/ci/test_tier_builder.py | |
parent | 5f5833f4308322892893fb07aa1898bc1406a32d (diff) |
Add Python3 support in functest/ci
Change-Id: If13bfaa196b8dfab1e83feb28c5a4719c7acd8c7
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'functest/tests/unit/ci/test_tier_builder.py')
-rw-r--r-- | functest/tests/unit/ci/test_tier_builder.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functest/tests/unit/ci/test_tier_builder.py b/functest/tests/unit/ci/test_tier_builder.py index 700c6e91..1dec9aed 100644 --- a/functest/tests/unit/ci/test_tier_builder.py +++ b/functest/tests/unit/ci/test_tier_builder.py @@ -39,7 +39,7 @@ class TierBuilderTesting(unittest.TestCase): with mock.patch('functest.ci.tier_builder.yaml.safe_load', return_value=self.mock_yaml), \ - mock.patch('__builtin__.open', mock.mock_open()): + mock.patch('six.moves.builtins.open', mock.mock_open()): self.tierbuilder = tier_builder.TierBuilder('test_installer', 'test_scenario', 'testcases_file') |