mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-03-26 21:33:32 +00:00
Merge pull request #425 from saito-hideki/pr/fix_test-sanity-docker-devel
Support new test-sanity-docker-devel test SUMMARY Support new test-sanity-docker-devel test. ISSUE TYPE CI test Pull Request COMPONENT NAME ansible.posix ADDITIONAL INFORMATION New test-sanity-docker-devel test is currently non-voting state.
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
trivial:
|
||||
- ansible.posix - removed unused module import from the code.
|
||||
@@ -16,3 +16,5 @@ __metaclass__ = type
|
||||
# from ansible.module_utils.compat.version import LooseVersion
|
||||
|
||||
from ._version import LooseVersion, StrictVersion
|
||||
|
||||
__all__ = ['LooseVersion', 'StrictVersion']
|
||||
|
||||
@@ -204,7 +204,6 @@ firewalld_info:
|
||||
'''
|
||||
|
||||
from ansible.module_utils.basic import AnsibleModule, missing_required_lib
|
||||
from ansible.module_utils.six import raise_from
|
||||
from ansible.module_utils._text import to_native
|
||||
from ansible_collections.ansible.posix.plugins.module_utils.version import StrictVersion
|
||||
|
||||
|
||||
@@ -31,3 +31,4 @@ except ImportError:
|
||||
BUILTINS = 'builtins'
|
||||
else:
|
||||
BUILTINS = '__builtin__'
|
||||
__all__ = ['__builtin__']
|
||||
|
||||
@@ -19,7 +19,6 @@ import os
|
||||
import unittest
|
||||
import yaml
|
||||
|
||||
import ansible.plugins
|
||||
from ansible_collections.ansible.posix.tests.unit.compat.mock import patch, MagicMock
|
||||
from ansible_collections.ansible.posix.plugins.action.synchronize import ActionModule
|
||||
|
||||
|
||||
Reference in New Issue
Block a user