mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
[PR #11400/236b9c0e backport][stable-12] Sort imports with ruff check --fix (#11409)
Sort imports with ruff check --fix (#11400)
Sort imports with ruff check --fix.
(cherry picked from commit 236b9c0e04)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
@@ -4,18 +4,18 @@
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
|
||||
from ansible_collections.community.general.plugins.modules import datadog_downtime
|
||||
from unittest.mock import MagicMock, patch
|
||||
|
||||
from ansible_collections.community.internal_test_tools.tests.unit.plugins.modules.utils import (
|
||||
AnsibleExitJson,
|
||||
AnsibleFailJson,
|
||||
ModuleTestCase,
|
||||
set_module_args,
|
||||
)
|
||||
|
||||
from pytest import importorskip
|
||||
|
||||
from ansible_collections.community.general.plugins.modules import datadog_downtime
|
||||
|
||||
# Skip this test if datadog_api_client cannot be installed
|
||||
datadog_api_client = importorskip("datadog_api_client")
|
||||
Downtime = datadog_api_client.v1.model.downtime.Downtime
|
||||
|
||||
Reference in New Issue
Block a user