diff options
author | Cedric Ollivier <cedric.ollivier@orange.com> | 2017-12-12 13:59:19 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-12-12 13:59:19 +0000 |
commit | 7109cd3916fb120ae773e8ca79ececd449525fac (patch) | |
tree | a0d8f6fe5a3ebe34a16fee8c4274c5c17696d64a /functest/tests/unit/utils/test_openstack_snapshot.py | |
parent | 9f41633bed117341fe542433ea869bba14011e9f (diff) | |
parent | df6ee9b1222ebd81fa22ce3499e536abe7bcb05e (diff) |
Merge "Add python3 for Functest utils"
Diffstat (limited to 'functest/tests/unit/utils/test_openstack_snapshot.py')
-rw-r--r-- | functest/tests/unit/utils/test_openstack_snapshot.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functest/tests/unit/utils/test_openstack_snapshot.py b/functest/tests/unit/utils/test_openstack_snapshot.py index 33e74609..919b28c6 100644 --- a/functest/tests/unit/utils/test_openstack_snapshot.py +++ b/functest/tests/unit/utils/test_openstack_snapshot.py @@ -222,7 +222,7 @@ class OSSnapshotTesting(unittest.TestCase): return_value=self.update_list), \ mock.patch('functest.utils.openstack_snapshot.get_tenants', return_value=self.update_list), \ - mock.patch('__builtin__.open', mock.mock_open()) as m: + mock.patch('six.moves.builtins.open', mock.mock_open()) as m: openstack_snapshot.main() mock_logger_info.assert_called_once_with("Generating OpenStack " "snapshot...") |