Merge "Fix tests on Python 3.12"
This commit is contained in:
commit
d9b95d776a
@ -15,6 +15,7 @@
|
|||||||
|
|
||||||
"""Test module module"""
|
"""Test module module"""
|
||||||
|
|
||||||
|
import sys
|
||||||
from unittest import mock
|
from unittest import mock
|
||||||
|
|
||||||
from openstackclient.common import module as osc_module
|
from openstackclient.common import module as osc_module
|
||||||
@ -43,6 +44,7 @@ module_name_5 = '_private_module.lib'
|
|||||||
module_version_5 = '0.0.1'
|
module_version_5 = '0.0.1'
|
||||||
|
|
||||||
MODULES = {
|
MODULES = {
|
||||||
|
'sys': sys,
|
||||||
module_name_1: fakes.FakeModule(module_name_1, module_version_1),
|
module_name_1: fakes.FakeModule(module_name_1, module_version_1),
|
||||||
module_name_2: fakes.FakeModule(module_name_2, module_version_2),
|
module_name_2: fakes.FakeModule(module_name_2, module_version_2),
|
||||||
module_name_3: fakes.FakeModule(module_name_3, module_version_3),
|
module_name_3: fakes.FakeModule(module_name_3, module_version_3),
|
||||||
|
Loading…
Reference in New Issue
Block a user