diff --git a/coriolis/tests/__init__.py b/coriolis/tests/__init__.py index e69de29b..b202e30a 100644 --- a/coriolis/tests/__init__.py +++ b/coriolis/tests/__init__.py @@ -0,0 +1,10 @@ +# Copyright 2024 Cloudbase Solutions Srl +# All Rights Reserved. + +from oslotest import mock_fixture + +# NOTE(claudiub): this needs to be called before any mock.patch calls are +# being done, and especially before any other test classes load. This fixes +# the mock.patch autospec issue: +# https://github.com/testing-cabal/mock/issues/396 +#mock_fixture.patch_mock_module()