Unit tests: clean up compat imports (#10902)

Clean up compat imports.
This commit is contained in:
Felix Fontein 2025-10-11 10:03:37 +02:00 committed by GitHub
commit 74b6a0294a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
127 changed files with 237 additions and 212 deletions

View file

@ -5,12 +5,12 @@
# Make coding more python3-ish
from __future__ import annotations
from ansible_collections.community.internal_test_tools.tests.unit.compat.unittest import TestCase
from ansible_collections.community.internal_test_tools.tests.unit.compat.mock import (
from unittest import TestCase
from unittest.mock import (
patch,
MagicMock,
)
from ansible_collections.community.general.plugins.lookup import dsv
from ansible.plugins.loader import lookup_loader