mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-03 08:52:55 +00:00
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.
This commit is contained in:
parent
8ab8010b6d
commit
410cf72aec
135 changed files with 180 additions and 490 deletions
|
|
@ -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():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue