mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +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,16 +4,15 @@
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
|
||||
from ansible_collections.community.general.plugins.modules import jenkins_credential
|
||||
from unittest.mock import (
|
||||
MagicMock,
|
||||
patch,
|
||||
mock_open,
|
||||
)
|
||||
|
||||
import builtins
|
||||
import json
|
||||
from unittest.mock import (
|
||||
MagicMock,
|
||||
mock_open,
|
||||
patch,
|
||||
)
|
||||
|
||||
from ansible_collections.community.general.plugins.modules import jenkins_credential
|
||||
|
||||
|
||||
def test_validate_file_exist_passes_when_file_exists():
|
||||
|
||||
Reference in New Issue
Block a user