1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix unit test imports. (#27)

This commit is contained in:
Felix Fontein 2020-03-22 19:59:18 +01:00 committed by GitHub
parent 344b48c2bf
commit 7e60763ab3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 12 additions and 12 deletions

View file

@ -13,7 +13,7 @@ import os
import json
import pytest
from ..FakeAnsibleModule import FakeAnsibleModule
from .FakeAnsibleModule import FakeAnsibleModule
from ansible.module_utils import six
from mock import MagicMock

View file

@ -9,7 +9,7 @@ __metaclass__ = type
import pytest
from ..common import testcase_bad_xenapi_refs
from .common import testcase_bad_xenapi_refs
testcase_gather_vm_params_and_facts = {

View file

@ -9,8 +9,8 @@ __metaclass__ = type
import pytest
from ..FakeAnsibleModule import FailJsonException
from ..common import fake_xenapi_ref
from .FakeAnsibleModule import FailJsonException
from .common import fake_xenapi_ref
def test_get_object_ref_xenapi_failure(mocker, fake_ansible_module, XenAPI, xenserver):

View file

@ -9,8 +9,8 @@ __metaclass__ = type
import pytest
from ..FakeAnsibleModule import FailJsonException
from ..common import fake_xenapi_ref, testcase_bad_xenapi_refs
from .FakeAnsibleModule import FailJsonException
from .common import fake_xenapi_ref, testcase_bad_xenapi_refs
testcase_set_vm_power_state_bad_transitions = {

View file

@ -9,8 +9,8 @@ __metaclass__ = type
import pytest
from ..FakeAnsibleModule import FailJsonException
from ..common import fake_xenapi_ref, testcase_bad_xenapi_refs
from .FakeAnsibleModule import FailJsonException
from .common import fake_xenapi_ref, testcase_bad_xenapi_refs
testcase_wait_for_vm_ip_address_bad_power_states = {

View file

@ -10,7 +10,7 @@ __metaclass__ = type
import pytest
import atexit
from ..FakeAnsibleModule import FailJsonException
from .FakeAnsibleModule import FailJsonException
from ansible.module_utils.ansible_release import __version__ as ANSIBLE_VERSION

View file

@ -9,8 +9,8 @@ __metaclass__ = type
import pytest
from ..FakeAnsibleModule import FailJsonException
from ..common import fake_xenapi_ref
from .FakeAnsibleModule import FailJsonException
from .common import fake_xenapi_ref
def test_xenserverobject_xenapi_lib_detection(mocker, fake_ansible_module, xenserver):

View file

@ -11,7 +11,7 @@ import sys
import importlib
import pytest
from ..FakeAnsibleModule import FakeAnsibleModule
from .FakeAnsibleModule import FakeAnsibleModule
@pytest.fixture