mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
[stable-9] Unit tests: replace mock and compat with code from community.internal_test_tools (#9923)
* Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) * Replace compat with equivalent from community.internal_test_tools. * Replace mock with equivalent from community.internal_test_tools. * Remove ignore.txt entries. * Add test that's no longer present in later versions.
This commit is contained in:
@@ -13,7 +13,7 @@ import pytest
|
||||
from ansible_collections.community.general.plugins.modules import scaleway_private_network
|
||||
from ansible_collections.community.general.plugins.module_utils.scaleway import Scaleway, Response
|
||||
from ansible_collections.community.internal_test_tools.tests.unit.plugins.modules.utils import set_module_args
|
||||
from ansible_collections.community.general.tests.unit.compat.mock import patch
|
||||
from ansible_collections.community.internal_test_tools.tests.unit.compat.mock import patch
|
||||
|
||||
|
||||
def response_with_zero_network():
|
||||
|
||||
Reference in New Issue
Block a user