
Use the original importer for mock. Otherwise, the unit tests that
use importlib with context are not running in an isolated manner,
leading to various transient failures if `stestr` is not run with the
`--isolated` flag.
The unittest.mock._get_target has been changed in Python 3.11, by commit:
ab7fcc8fbd
This change is needed to add support for Python 3.11 and Python 3.12
unit testing.
Change-Id: Ic73f5280116673f771f5460cdfd3702f5fbe16b5
Portable Multi-Cloud Initialization Service
- Author: Cloudbase Solutions Srl
- Contact: info@cloudbasesolutions.com
- Home page: http://www.cloudbase.it/cloud-init-windows/
- Documentation: http://cloudbase-init.readthedocs.org/en/latest/
- Source: https://github.com/openstack/cloudbase-init
- License: Apache 2.0
Downloads
Stable
- (64bit) https://www.cloudbase.it/downloads/CloudbaseInitSetup_Stable_x64.msi
- (32bit) https://www.cloudbase.it/downloads/CloudbaseInitSetup_Stable_x86.msi
Beta
- (64bit) https://www.cloudbase.it/downloads/CloudbaseInitSetup_x64.msi
- (32bit) https://www.cloudbase.it/downloads/CloudbaseInitSetup_x86.msi
Got a question?
Description
Languages
Python
100%