mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +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,11 +4,8 @@
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from unittest.mock import patch, call
|
||||
from unittest.mock import call, patch
|
||||
|
||||
from ansible_collections.community.general.plugins.modules import parted as parted_module
|
||||
from ansible_collections.community.general.plugins.modules.parted import parse_parted_version
|
||||
from ansible_collections.community.general.plugins.modules.parted import parse_partition_info
|
||||
from ansible_collections.community.internal_test_tools.tests.unit.plugins.modules.utils import (
|
||||
AnsibleExitJson,
|
||||
AnsibleFailJson,
|
||||
@@ -16,6 +13,9 @@ from ansible_collections.community.internal_test_tools.tests.unit.plugins.module
|
||||
set_module_args,
|
||||
)
|
||||
|
||||
from ansible_collections.community.general.plugins.modules import parted as parted_module
|
||||
from ansible_collections.community.general.plugins.modules.parted import parse_parted_version, parse_partition_info
|
||||
|
||||
# Example of output : parted -s -m /dev/sdb -- unit 'MB' print
|
||||
parted_output1 = """
|
||||
BYT;
|
||||
|
||||
Reference in New Issue
Block a user