mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix relative imports
This commit is contained in:
parent
6ecca227b8
commit
a707f5acfe
5 changed files with 6 additions and 6 deletions
|
@ -15,7 +15,7 @@
|
|||
# You should have received a copy of the GNU General Public License
|
||||
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from ..compat import unittest
|
||||
from .. compat import unittest
|
||||
|
||||
from ansible.parsing.yaml.objects import AnsibleBaseYAMLObject
|
||||
from ansible.errors import AnsibleError
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
# You should have received a copy of the GNU General Public License
|
||||
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from ..compat import unittest
|
||||
from .. compat import unittest
|
||||
from ansible.parsing import load
|
||||
from ansible.errors import AnsibleParserError
|
||||
|
||||
|
|
|
@ -17,9 +17,9 @@
|
|||
|
||||
from ansible.parsing.mod_args import ModuleArgsParser
|
||||
|
||||
from .. compat import CompatTestCase
|
||||
from .. compat import unittest
|
||||
|
||||
class TestModArgsDwim(CompatTestCase):
|
||||
class TestModArgsDwim(unittest.TestCase):
|
||||
|
||||
# TODO: add tests that construct ModuleArgsParser with a task reference
|
||||
# TODO: verify the AnsibleError raised on failure knows the task
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
# You should have received a copy of the GNU General Public License
|
||||
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from ..compat import unittest
|
||||
from ... compat import unittest
|
||||
|
||||
from yaml.scanner import ScannerError
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from ansible.playbook.task import Task
|
||||
from ..compat import unittest
|
||||
from .. compat import unittest
|
||||
|
||||
basic_shell_task = dict(
|
||||
name = 'Test Task',
|
||||
|
|
Loading…
Reference in a new issue