diff --git a/tests/unit/modules/cloud/xenserver/test_xenserver_guest_powerstate.py b/tests/unit/modules/cloud/xenserver/test_xenserver_guest_powerstate.py index af1b75a692..2ecd2f7a03 100644 --- a/tests/unit/modules/cloud/xenserver/test_xenserver_guest_powerstate.py +++ b/tests/unit/modules/cloud/xenserver/test_xenserver_guest_powerstate.py @@ -10,7 +10,7 @@ __metaclass__ = type import json import pytest -from ..common import fake_xenapi_ref +from .common import fake_xenapi_ref testcase_set_powerstate = { diff --git a/tests/unit/modules/network/aireos/test_aireos_command.py b/tests/unit/modules/network/aireos/test_aireos_command.py index 4f491d4af1..aaf56dbafe 100644 --- a/tests/unit/modules/network/aireos/test_aireos_command.py +++ b/tests/unit/modules/network/aireos/test_aireos_command.py @@ -24,7 +24,7 @@ import json from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.aireos import aireos_command from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..aireos_module import TestCiscoWlcModule, load_fixture +from .aireos_module import TestCiscoWlcModule, load_fixture from ansible.module_utils import six diff --git a/tests/unit/modules/network/aireos/test_aireos_config.py b/tests/unit/modules/network/aireos/test_aireos_config.py index 4357c36b2b..ba60820cb3 100644 --- a/tests/unit/modules/network/aireos/test_aireos_config.py +++ b/tests/unit/modules/network/aireos/test_aireos_config.py @@ -23,7 +23,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.aireos import aireos_config from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..aireos_module import TestCiscoWlcModule, load_fixture +from .aireos_module import TestCiscoWlcModule, load_fixture class TestCiscoWlcConfigModule(TestCiscoWlcModule): diff --git a/tests/unit/modules/network/apconos/test_apconos_command.py b/tests/unit/modules/network/apconos/test_apconos_command.py index 39ba6140df..2b635542a6 100644 --- a/tests/unit/modules/network/apconos/test_apconos_command.py +++ b/tests/unit/modules/network/apconos/test_apconos_command.py @@ -24,7 +24,7 @@ import json from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.apconos import apconos_command from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..apconos_module import TestApconosModule, load_fixture +from .apconos_module import TestApconosModule, load_fixture class TestApconosCommandModule(TestApconosModule): diff --git a/tests/unit/modules/network/cloudengine/test_ce_lacp.py b/tests/unit/modules/network/cloudengine/test_ce_lacp.py index 5de1d3e325..2c19666d5b 100644 --- a/tests/unit/modules/network/cloudengine/test_ce_lacp.py +++ b/tests/unit/modules/network/cloudengine/test_ce_lacp.py @@ -23,7 +23,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.cloudengine import ce_lacp from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..ce_module import TestCloudEngineModule, load_fixture +from .ce_module import TestCloudEngineModule, load_fixture class TestCloudEngineLacpModule(TestCloudEngineModule): diff --git a/tests/unit/modules/network/edgeos/test_edgeos_command.py b/tests/unit/modules/network/edgeos/test_edgeos_command.py index 8a69bb9db9..eb767b04f7 100644 --- a/tests/unit/modules/network/edgeos/test_edgeos_command.py +++ b/tests/unit/modules/network/edgeos/test_edgeos_command.py @@ -24,7 +24,7 @@ import json from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.edgeos import edgeos_command from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..edgeos_module import TestEdgeosModule, load_fixture +from .edgeos_module import TestEdgeosModule, load_fixture class TestEdgeosCommandModule(TestEdgeosModule): diff --git a/tests/unit/modules/network/edgeos/test_edgeos_config.py b/tests/unit/modules/network/edgeos/test_edgeos_config.py index 3f4b50e8af..6dfe023d44 100644 --- a/tests/unit/modules/network/edgeos/test_edgeos_config.py +++ b/tests/unit/modules/network/edgeos/test_edgeos_config.py @@ -23,7 +23,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.edgeos import edgeos_config from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..edgeos_module import TestEdgeosModule, load_fixture +from .edgeos_module import TestEdgeosModule, load_fixture class TestEdgeosConfigModule(TestEdgeosModule): diff --git a/tests/unit/modules/network/edgeos/test_edgeos_facts.py b/tests/unit/modules/network/edgeos/test_edgeos_facts.py index a792cda983..927471338d 100644 --- a/tests/unit/modules/network/edgeos/test_edgeos_facts.py +++ b/tests/unit/modules/network/edgeos/test_edgeos_facts.py @@ -24,7 +24,7 @@ import json from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.edgeos import edgeos_facts from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..edgeos_module import TestEdgeosModule, load_fixture +from .edgeos_module import TestEdgeosModule, load_fixture class TestEdgeosFactsModule(TestEdgeosModule): diff --git a/tests/unit/modules/network/enos/test_enos_command.py b/tests/unit/modules/network/enos/test_enos_command.py index 3ac852d8db..43d4039fae 100644 --- a/tests/unit/modules/network/enos/test_enos_command.py +++ b/tests/unit/modules/network/enos/test_enos_command.py @@ -22,7 +22,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.enos import enos_command from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..enos_module import TestEnosModule, load_fixture +from .enos_module import TestEnosModule, load_fixture class TestEnosCommandModule(TestEnosModule): diff --git a/tests/unit/modules/network/enos/test_enos_config.py b/tests/unit/modules/network/enos/test_enos_config.py index f605cfa69f..7ed86de0fc 100644 --- a/tests/unit/modules/network/enos/test_enos_config.py +++ b/tests/unit/modules/network/enos/test_enos_config.py @@ -22,7 +22,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.enos import enos_config -from ..enos_module import TestEnosModule, load_fixture +from .enos_module import TestEnosModule, load_fixture from ansible_collections.community.general.tests.unit.modules.utils import set_module_args diff --git a/tests/unit/modules/network/enos/test_enos_facts.py b/tests/unit/modules/network/enos/test_enos_facts.py index e8a7aa3cb1..c66a7bf2b3 100644 --- a/tests/unit/modules/network/enos/test_enos_facts.py +++ b/tests/unit/modules/network/enos/test_enos_facts.py @@ -22,7 +22,7 @@ __metaclass__ = type import json from ansible_collections.community.general.tests.unit.compat.mock import patch -from ..enos_module import TestEnosModule, load_fixture +from .enos_module import TestEnosModule, load_fixture from ansible_collections.community.general.plugins.modules.network.enos import enos_facts from ansible_collections.community.general.tests.unit.modules.utils import set_module_args diff --git a/tests/unit/modules/network/eric_eccli/test_eric_eccli_command.py b/tests/unit/modules/network/eric_eccli/test_eric_eccli_command.py index 58de394fd8..e73049dfd7 100644 --- a/tests/unit/modules/network/eric_eccli/test_eric_eccli_command.py +++ b/tests/unit/modules/network/eric_eccli/test_eric_eccli_command.py @@ -24,7 +24,7 @@ import json from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.eric_eccli import eric_eccli_command from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..eccli_module import TestEccliModule, load_fixture +from .eccli_module import TestEccliModule, load_fixture class TestEccliCommandModule(TestEccliModule): diff --git a/tests/unit/modules/network/exos/test_exos_command.py b/tests/unit/modules/network/exos/test_exos_command.py index 8de397a59f..8d9995e1e5 100644 --- a/tests/unit/modules/network/exos/test_exos_command.py +++ b/tests/unit/modules/network/exos/test_exos_command.py @@ -24,7 +24,7 @@ import json from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.tests.unit.modules.utils import set_module_args from ansible_collections.community.general.plugins.modules.network.exos import exos_command -from ..exos_module import TestExosModule, load_fixture +from .exos_module import TestExosModule, load_fixture class TestExosCommandModule(TestExosModule): diff --git a/tests/unit/modules/network/exos/test_exos_config.py b/tests/unit/modules/network/exos/test_exos_config.py index 22100b32df..f37d3c932e 100644 --- a/tests/unit/modules/network/exos/test_exos_config.py +++ b/tests/unit/modules/network/exos/test_exos_config.py @@ -23,7 +23,7 @@ from ansible_collections.community.general.tests.unit.compat.mock import patch, from ansible_collections.community.general.tests.unit.modules.utils import set_module_args from ansible_collections.community.general.plugins.cliconf.exos import Cliconf from ansible_collections.community.general.plugins.modules.network.exos import exos_config -from ..exos_module import TestExosModule, load_fixture +from .exos_module import TestExosModule, load_fixture class TestExosConfigModule(TestExosModule): diff --git a/tests/unit/modules/network/exos/test_exos_facts.py b/tests/unit/modules/network/exos/test_exos_facts.py index c615d5ad9b..01b27d54fa 100644 --- a/tests/unit/modules/network/exos/test_exos_facts.py +++ b/tests/unit/modules/network/exos/test_exos_facts.py @@ -26,7 +26,7 @@ from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.tests.unit.modules.utils import set_module_args from ansible.module_utils.common._collections_compat import Mapping from ansible_collections.community.general.plugins.modules.network.exos import exos_facts -from ..exos_module import TestExosModule +from .exos_module import TestExosModule class TestExosFactsModule(TestExosModule): diff --git a/tests/unit/modules/network/fortimanager/test_fmgr_provisioning.py b/tests/unit/modules/network/fortimanager/test_fmgr_provisioning.py index 189319dc53..e4a58828eb 100644 --- a/tests/unit/modules/network/fortimanager/test_fmgr_provisioning.py +++ b/tests/unit/modules/network/fortimanager/test_fmgr_provisioning.py @@ -24,7 +24,7 @@ import pytest pytestmark = [] try: from ansible_collections.community.general.plugins.modules.network.fortimanager import fmgr_provisioning - from ..fortimanager_module import TestFortimanagerModule + from .fortimanager_module import TestFortimanagerModule from ansible_collections.community.general.tests.unit.modules.utils import set_module_args except ImportError: pytestmark.append(pytest.mark.skip("Could not load required modules for testing")) diff --git a/tests/unit/modules/network/ironware/test_ironware_command.py b/tests/unit/modules/network/ironware/test_ironware_command.py index 4d2c592c93..67f9a76f69 100644 --- a/tests/unit/modules/network/ironware/test_ironware_command.py +++ b/tests/unit/modules/network/ironware/test_ironware_command.py @@ -22,7 +22,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.tests.unit.modules.utils import set_module_args from ansible_collections.community.general.plugins.modules.network.ironware import ironware_command -from ..ironware_module import TestIronwareModule, load_fixture +from .ironware_module import TestIronwareModule, load_fixture class TestIronwareCommandModule(TestIronwareModule): diff --git a/tests/unit/modules/network/ironware/test_ironware_config.py b/tests/unit/modules/network/ironware/test_ironware_config.py index 9c8eea6bb9..9b5d8d2712 100644 --- a/tests/unit/modules/network/ironware/test_ironware_config.py +++ b/tests/unit/modules/network/ironware/test_ironware_config.py @@ -23,7 +23,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.tests.unit.modules.utils import set_module_args from ansible_collections.community.general.plugins.modules.network.ironware import ironware_config -from ..ironware_module import TestIronwareModule, load_fixture +from .ironware_module import TestIronwareModule, load_fixture class TestIronwareConfigModule(TestIronwareModule): diff --git a/tests/unit/modules/network/ironware/test_ironware_facts.py b/tests/unit/modules/network/ironware/test_ironware_facts.py index e29b4db64b..8499b1f6e9 100644 --- a/tests/unit/modules/network/ironware/test_ironware_facts.py +++ b/tests/unit/modules/network/ironware/test_ironware_facts.py @@ -24,7 +24,7 @@ import json from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.tests.unit.modules.utils import set_module_args from ansible_collections.community.general.plugins.modules.network.ironware import ironware_facts -from ..ironware_module import TestIronwareModule, load_fixture +from .ironware_module import TestIronwareModule, load_fixture class TestIronwareFacts(TestIronwareModule): diff --git a/tests/unit/modules/network/netscaler/test_netscaler_cs_action.py b/tests/unit/modules/network/netscaler/test_netscaler_cs_action.py index 3425182266..8a32a97029 100644 --- a/tests/unit/modules/network/netscaler/test_netscaler_cs_action.py +++ b/tests/unit/modules/network/netscaler/test_netscaler_cs_action.py @@ -19,7 +19,7 @@ from ansible_collections.community.general.tests.unit.compat.mock import patch, Mock, MagicMock, call from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..netscaler_module import TestModule, nitro_base_patcher +from .netscaler_module import TestModule, nitro_base_patcher import sys diff --git a/tests/unit/modules/network/netscaler/test_netscaler_cs_policy.py b/tests/unit/modules/network/netscaler/test_netscaler_cs_policy.py index 901a75b38b..311e3bf17e 100644 --- a/tests/unit/modules/network/netscaler/test_netscaler_cs_policy.py +++ b/tests/unit/modules/network/netscaler/test_netscaler_cs_policy.py @@ -26,7 +26,7 @@ if sys.version_info[:2] != (2, 6): from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..netscaler_module import TestModule, nitro_base_patcher +from .netscaler_module import TestModule, nitro_base_patcher class TestNetscalerCSPolicyModule(TestModule): diff --git a/tests/unit/modules/network/netscaler/test_netscaler_cs_vserver.py b/tests/unit/modules/network/netscaler/test_netscaler_cs_vserver.py index e66ce461a0..8ad779fa52 100644 --- a/tests/unit/modules/network/netscaler/test_netscaler_cs_vserver.py +++ b/tests/unit/modules/network/netscaler/test_netscaler_cs_vserver.py @@ -19,7 +19,7 @@ from ansible_collections.community.general.tests.unit.compat.mock import patch, Mock, MagicMock, call from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..netscaler_module import TestModule, nitro_base_patcher +from .netscaler_module import TestModule, nitro_base_patcher import sys diff --git a/tests/unit/modules/network/netscaler/test_netscaler_gslb_service.py b/tests/unit/modules/network/netscaler/test_netscaler_gslb_service.py index e57a21d5e5..a2ec4d1942 100644 --- a/tests/unit/modules/network/netscaler/test_netscaler_gslb_service.py +++ b/tests/unit/modules/network/netscaler/test_netscaler_gslb_service.py @@ -19,7 +19,7 @@ from ansible_collections.community.general.tests.unit.compat.mock import patch, Mock, MagicMock, call from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..netscaler_module import TestModule, nitro_base_patcher +from .netscaler_module import TestModule, nitro_base_patcher import sys diff --git a/tests/unit/modules/network/netscaler/test_netscaler_gslb_site.py b/tests/unit/modules/network/netscaler/test_netscaler_gslb_site.py index aebf882349..ceb0cc05cf 100644 --- a/tests/unit/modules/network/netscaler/test_netscaler_gslb_site.py +++ b/tests/unit/modules/network/netscaler/test_netscaler_gslb_site.py @@ -19,7 +19,7 @@ from ansible_collections.community.general.tests.unit.compat.mock import patch, Mock, MagicMock, call from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..netscaler_module import TestModule, nitro_base_patcher +from .netscaler_module import TestModule, nitro_base_patcher import sys diff --git a/tests/unit/modules/network/netscaler/test_netscaler_gslb_vserver.py b/tests/unit/modules/network/netscaler/test_netscaler_gslb_vserver.py index 548f240635..569d5ead79 100644 --- a/tests/unit/modules/network/netscaler/test_netscaler_gslb_vserver.py +++ b/tests/unit/modules/network/netscaler/test_netscaler_gslb_vserver.py @@ -19,7 +19,7 @@ from ansible_collections.community.general.tests.unit.compat.mock import patch, Mock, MagicMock, call from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..netscaler_module import TestModule, nitro_base_patcher +from .netscaler_module import TestModule, nitro_base_patcher import sys diff --git a/tests/unit/modules/network/netscaler/test_netscaler_lb_monitor.py b/tests/unit/modules/network/netscaler/test_netscaler_lb_monitor.py index 1c89f87b1d..8a9f3aded4 100644 --- a/tests/unit/modules/network/netscaler/test_netscaler_lb_monitor.py +++ b/tests/unit/modules/network/netscaler/test_netscaler_lb_monitor.py @@ -19,7 +19,7 @@ from ansible_collections.community.general.tests.unit.compat.mock import patch, Mock, MagicMock, call from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..netscaler_module import TestModule, nitro_base_patcher +from .netscaler_module import TestModule, nitro_base_patcher import sys diff --git a/tests/unit/modules/network/netscaler/test_netscaler_lb_vserver.py b/tests/unit/modules/network/netscaler/test_netscaler_lb_vserver.py index 35935d834d..5d1dcfcc8d 100644 --- a/tests/unit/modules/network/netscaler/test_netscaler_lb_vserver.py +++ b/tests/unit/modules/network/netscaler/test_netscaler_lb_vserver.py @@ -19,7 +19,7 @@ from ansible_collections.community.general.tests.unit.compat.mock import patch, Mock, MagicMock, call from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..netscaler_module import TestModule, nitro_base_patcher +from .netscaler_module import TestModule, nitro_base_patcher import sys diff --git a/tests/unit/modules/network/netscaler/test_netscaler_nitro_request.py b/tests/unit/modules/network/netscaler/test_netscaler_nitro_request.py index f544682120..3d2eaa0c96 100644 --- a/tests/unit/modules/network/netscaler/test_netscaler_nitro_request.py +++ b/tests/unit/modules/network/netscaler/test_netscaler_nitro_request.py @@ -18,7 +18,7 @@ # from ansible_collections.community.general.tests.unit.compat.mock import patch, Mock, call -from ..netscaler_module import TestModule +from .netscaler_module import TestModule import copy import tempfile import json diff --git a/tests/unit/modules/network/netscaler/test_netscaler_save_config.py b/tests/unit/modules/network/netscaler/test_netscaler_save_config.py index c8712c3ce8..a9b380d705 100644 --- a/tests/unit/modules/network/netscaler/test_netscaler_save_config.py +++ b/tests/unit/modules/network/netscaler/test_netscaler_save_config.py @@ -19,7 +19,7 @@ from ansible_collections.community.general.tests.unit.compat.mock import patch, Mock, call from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..netscaler_module import TestModule, nitro_base_patcher +from .netscaler_module import TestModule, nitro_base_patcher import sys diff --git a/tests/unit/modules/network/netscaler/test_netscaler_server.py b/tests/unit/modules/network/netscaler/test_netscaler_server.py index 86680ee1e1..b85d9ae52d 100644 --- a/tests/unit/modules/network/netscaler/test_netscaler_server.py +++ b/tests/unit/modules/network/netscaler/test_netscaler_server.py @@ -19,7 +19,7 @@ from ansible_collections.community.general.tests.unit.compat.mock import patch, Mock, MagicMock, call from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..netscaler_module import TestModule, nitro_base_patcher +from .netscaler_module import TestModule, nitro_base_patcher import sys diff --git a/tests/unit/modules/network/netscaler/test_netscaler_service.py b/tests/unit/modules/network/netscaler/test_netscaler_service.py index 20a9a5f8ed..3b47715511 100644 --- a/tests/unit/modules/network/netscaler/test_netscaler_service.py +++ b/tests/unit/modules/network/netscaler/test_netscaler_service.py @@ -26,7 +26,7 @@ if sys.version_info[:2] != (2, 6): from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..netscaler_module import TestModule, nitro_base_patcher +from .netscaler_module import TestModule, nitro_base_patcher class TestNetscalerServiceModule(TestModule): diff --git a/tests/unit/modules/network/netscaler/test_netscaler_servicegroup.py b/tests/unit/modules/network/netscaler/test_netscaler_servicegroup.py index 7498540edd..b0b03c343a 100644 --- a/tests/unit/modules/network/netscaler/test_netscaler_servicegroup.py +++ b/tests/unit/modules/network/netscaler/test_netscaler_servicegroup.py @@ -26,7 +26,7 @@ if sys.version_info[:2] != (2, 6): from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..netscaler_module import TestModule, nitro_base_patcher +from .netscaler_module import TestModule, nitro_base_patcher class TestNetscalerServicegroupModule(TestModule): diff --git a/tests/unit/modules/network/netscaler/test_netscaler_ssl_certkey.py b/tests/unit/modules/network/netscaler/test_netscaler_ssl_certkey.py index 1405a4ca2d..9f4bce38f5 100644 --- a/tests/unit/modules/network/netscaler/test_netscaler_ssl_certkey.py +++ b/tests/unit/modules/network/netscaler/test_netscaler_ssl_certkey.py @@ -19,7 +19,7 @@ from ansible_collections.community.general.tests.unit.compat.mock import patch, Mock, MagicMock, call from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..netscaler_module import TestModule, nitro_base_patcher +from .netscaler_module import TestModule, nitro_base_patcher import sys diff --git a/tests/unit/modules/network/netvisor/test_pn_access_list_ip.py b/tests/unit/modules/network/netvisor/test_pn_access_list_ip.py index 05dd1aa27c..7f23398074 100644 --- a/tests/unit/modules/network/netvisor/test_pn_access_list_ip.py +++ b/tests/unit/modules/network/netvisor/test_pn_access_list_ip.py @@ -7,7 +7,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.netvisor import pn_access_list_ip from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..nvos_module import TestNvosModule +from .nvos_module import TestNvosModule class TestAccessListIpModule(TestNvosModule): diff --git a/tests/unit/modules/network/netvisor/test_pn_admin_service.py b/tests/unit/modules/network/netvisor/test_pn_admin_service.py index 54cbd67588..afd1f95d24 100644 --- a/tests/unit/modules/network/netvisor/test_pn_admin_service.py +++ b/tests/unit/modules/network/netvisor/test_pn_admin_service.py @@ -7,7 +7,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.netvisor import pn_admin_service from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..nvos_module import TestNvosModule +from .nvos_module import TestNvosModule class TestAdminServiceModule(TestNvosModule): diff --git a/tests/unit/modules/network/netvisor/test_pn_admin_session_timeout.py b/tests/unit/modules/network/netvisor/test_pn_admin_session_timeout.py index b29c70a663..bbf1d54b70 100644 --- a/tests/unit/modules/network/netvisor/test_pn_admin_session_timeout.py +++ b/tests/unit/modules/network/netvisor/test_pn_admin_session_timeout.py @@ -7,7 +7,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.netvisor import pn_admin_session_timeout from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..nvos_module import TestNvosModule +from .nvos_module import TestNvosModule class TestAdminServiceModule(TestNvosModule): diff --git a/tests/unit/modules/network/netvisor/test_pn_admin_syslog.py b/tests/unit/modules/network/netvisor/test_pn_admin_syslog.py index 4eec009247..baa710a47e 100644 --- a/tests/unit/modules/network/netvisor/test_pn_admin_syslog.py +++ b/tests/unit/modules/network/netvisor/test_pn_admin_syslog.py @@ -7,7 +7,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.netvisor import pn_admin_syslog from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..nvos_module import TestNvosModule +from .nvos_module import TestNvosModule class TestAdminSyslogModule(TestNvosModule): diff --git a/tests/unit/modules/network/netvisor/test_pn_connection_stats_settings.py b/tests/unit/modules/network/netvisor/test_pn_connection_stats_settings.py index d51ac38073..7beddfdf6b 100644 --- a/tests/unit/modules/network/netvisor/test_pn_connection_stats_settings.py +++ b/tests/unit/modules/network/netvisor/test_pn_connection_stats_settings.py @@ -7,7 +7,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.netvisor import pn_connection_stats_settings from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..nvos_module import TestNvosModule +from .nvos_module import TestNvosModule class TestAdminServiceModule(TestNvosModule): diff --git a/tests/unit/modules/network/netvisor/test_pn_cpu_class.py b/tests/unit/modules/network/netvisor/test_pn_cpu_class.py index ca71c1e131..1c3e0188c4 100644 --- a/tests/unit/modules/network/netvisor/test_pn_cpu_class.py +++ b/tests/unit/modules/network/netvisor/test_pn_cpu_class.py @@ -7,7 +7,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.netvisor import pn_cpu_class from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..nvos_module import TestNvosModule +from .nvos_module import TestNvosModule class TestCpuClassModule(TestNvosModule): diff --git a/tests/unit/modules/network/netvisor/test_pn_cpu_mgmt_class.py b/tests/unit/modules/network/netvisor/test_pn_cpu_mgmt_class.py index 74a27b7119..8f58b2bb23 100644 --- a/tests/unit/modules/network/netvisor/test_pn_cpu_mgmt_class.py +++ b/tests/unit/modules/network/netvisor/test_pn_cpu_mgmt_class.py @@ -7,7 +7,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.netvisor import pn_cpu_mgmt_class from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..nvos_module import TestNvosModule +from .nvos_module import TestNvosModule class TestCpuMgmtClassModule(TestNvosModule): diff --git a/tests/unit/modules/network/netvisor/test_pn_dhcp_filter.py b/tests/unit/modules/network/netvisor/test_pn_dhcp_filter.py index 6118395096..1d3cf77476 100644 --- a/tests/unit/modules/network/netvisor/test_pn_dhcp_filter.py +++ b/tests/unit/modules/network/netvisor/test_pn_dhcp_filter.py @@ -7,7 +7,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.netvisor import pn_dhcp_filter from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..nvos_module import TestNvosModule +from .nvos_module import TestNvosModule class TestDhcpFilterModule(TestNvosModule): diff --git a/tests/unit/modules/network/netvisor/test_pn_dscp_map.py b/tests/unit/modules/network/netvisor/test_pn_dscp_map.py index 35cc01c485..fe263b44f9 100644 --- a/tests/unit/modules/network/netvisor/test_pn_dscp_map.py +++ b/tests/unit/modules/network/netvisor/test_pn_dscp_map.py @@ -7,7 +7,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.netvisor import pn_dscp_map from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..nvos_module import TestNvosModule +from .nvos_module import TestNvosModule class TestDscpMapModule(TestNvosModule): diff --git a/tests/unit/modules/network/netvisor/test_pn_dscp_map_pri_map.py b/tests/unit/modules/network/netvisor/test_pn_dscp_map_pri_map.py index e775cbc055..287e54c9f4 100644 --- a/tests/unit/modules/network/netvisor/test_pn_dscp_map_pri_map.py +++ b/tests/unit/modules/network/netvisor/test_pn_dscp_map_pri_map.py @@ -7,7 +7,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.netvisor import pn_dscp_map_pri_map from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..nvos_module import TestNvosModule +from .nvos_module import TestNvosModule class TestCpuClassModule(TestNvosModule): diff --git a/tests/unit/modules/network/netvisor/test_pn_fabric_local.py b/tests/unit/modules/network/netvisor/test_pn_fabric_local.py index 929940e828..90f0f6f91d 100644 --- a/tests/unit/modules/network/netvisor/test_pn_fabric_local.py +++ b/tests/unit/modules/network/netvisor/test_pn_fabric_local.py @@ -7,7 +7,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.netvisor import pn_fabric_local from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..nvos_module import TestNvosModule +from .nvos_module import TestNvosModule class TestFabricLocalModule(TestNvosModule): diff --git a/tests/unit/modules/network/netvisor/test_pn_igmp_snooping.py b/tests/unit/modules/network/netvisor/test_pn_igmp_snooping.py index 77740de880..62fdbb71fe 100644 --- a/tests/unit/modules/network/netvisor/test_pn_igmp_snooping.py +++ b/tests/unit/modules/network/netvisor/test_pn_igmp_snooping.py @@ -7,7 +7,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.netvisor import pn_igmp_snooping from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..nvos_module import TestNvosModule +from .nvos_module import TestNvosModule class TestAdminServiceModule(TestNvosModule): diff --git a/tests/unit/modules/network/netvisor/test_pn_ipv6security_raguard.py b/tests/unit/modules/network/netvisor/test_pn_ipv6security_raguard.py index 463ccc953c..ed38d0a1d5 100644 --- a/tests/unit/modules/network/netvisor/test_pn_ipv6security_raguard.py +++ b/tests/unit/modules/network/netvisor/test_pn_ipv6security_raguard.py @@ -7,7 +7,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.netvisor import pn_ipv6security_raguard from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..nvos_module import TestNvosModule +from .nvos_module import TestNvosModule class TestIPV6SecurityRaguardModule(TestNvosModule): diff --git a/tests/unit/modules/network/netvisor/test_pn_ipv6security_raguard_port.py b/tests/unit/modules/network/netvisor/test_pn_ipv6security_raguard_port.py index 6565ae7304..2a10010e88 100644 --- a/tests/unit/modules/network/netvisor/test_pn_ipv6security_raguard_port.py +++ b/tests/unit/modules/network/netvisor/test_pn_ipv6security_raguard_port.py @@ -7,7 +7,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.netvisor import pn_ipv6security_raguard_port from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..nvos_module import TestNvosModule +from .nvos_module import TestNvosModule class TestIPV6SecurityRaguardPortModule(TestNvosModule): diff --git a/tests/unit/modules/network/netvisor/test_pn_ipv6security_raguard_vlan.py b/tests/unit/modules/network/netvisor/test_pn_ipv6security_raguard_vlan.py index b899f8594f..5014f594b4 100644 --- a/tests/unit/modules/network/netvisor/test_pn_ipv6security_raguard_vlan.py +++ b/tests/unit/modules/network/netvisor/test_pn_ipv6security_raguard_vlan.py @@ -7,7 +7,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.netvisor import pn_ipv6security_raguard_vlan from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..nvos_module import TestNvosModule +from .nvos_module import TestNvosModule class TestIPV6SecurityReguardVlanModule(TestNvosModule): diff --git a/tests/unit/modules/network/netvisor/test_pn_log_audit_exception.py b/tests/unit/modules/network/netvisor/test_pn_log_audit_exception.py index c503b16a60..80106b3af0 100644 --- a/tests/unit/modules/network/netvisor/test_pn_log_audit_exception.py +++ b/tests/unit/modules/network/netvisor/test_pn_log_audit_exception.py @@ -9,7 +9,7 @@ import json from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.netvisor import pn_log_audit_exception from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..nvos_module import TestNvosModule, load_fixture +from .nvos_module import TestNvosModule, load_fixture class TestLogAuditExceptionModule(TestNvosModule): diff --git a/tests/unit/modules/network/netvisor/test_pn_port_config.py b/tests/unit/modules/network/netvisor/test_pn_port_config.py index fa00648b7d..2ee83fe285 100644 --- a/tests/unit/modules/network/netvisor/test_pn_port_config.py +++ b/tests/unit/modules/network/netvisor/test_pn_port_config.py @@ -7,7 +7,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.netvisor import pn_port_config from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..nvos_module import TestNvosModule +from .nvos_module import TestNvosModule class TestPortConfigModule(TestNvosModule): diff --git a/tests/unit/modules/network/netvisor/test_pn_port_cos_bw.py b/tests/unit/modules/network/netvisor/test_pn_port_cos_bw.py index 467a680a6c..fbc71f6df4 100644 --- a/tests/unit/modules/network/netvisor/test_pn_port_cos_bw.py +++ b/tests/unit/modules/network/netvisor/test_pn_port_cos_bw.py @@ -7,7 +7,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.netvisor import pn_port_cos_bw from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..nvos_module import TestNvosModule +from .nvos_module import TestNvosModule class TestAdminServiceModule(TestNvosModule): diff --git a/tests/unit/modules/network/netvisor/test_pn_port_cos_rate_setting.py b/tests/unit/modules/network/netvisor/test_pn_port_cos_rate_setting.py index 70a1362b46..afc3ad5d95 100644 --- a/tests/unit/modules/network/netvisor/test_pn_port_cos_rate_setting.py +++ b/tests/unit/modules/network/netvisor/test_pn_port_cos_rate_setting.py @@ -7,7 +7,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.netvisor import pn_port_cos_rate_setting from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..nvos_module import TestNvosModule +from .nvos_module import TestNvosModule class TestPortCosRateSettingModule(TestNvosModule): diff --git a/tests/unit/modules/network/netvisor/test_pn_prefix_list.py b/tests/unit/modules/network/netvisor/test_pn_prefix_list.py index 2912488f86..cf7b9c9cf0 100644 --- a/tests/unit/modules/network/netvisor/test_pn_prefix_list.py +++ b/tests/unit/modules/network/netvisor/test_pn_prefix_list.py @@ -7,7 +7,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.netvisor import pn_prefix_list from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..nvos_module import TestNvosModule +from .nvos_module import TestNvosModule class TestPrefixListModule(TestNvosModule): diff --git a/tests/unit/modules/network/netvisor/test_pn_prefix_list_network.py b/tests/unit/modules/network/netvisor/test_pn_prefix_list_network.py index 41121b244d..996c2e6c70 100644 --- a/tests/unit/modules/network/netvisor/test_pn_prefix_list_network.py +++ b/tests/unit/modules/network/netvisor/test_pn_prefix_list_network.py @@ -7,7 +7,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.netvisor import pn_prefix_list_network from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..nvos_module import TestNvosModule +from .nvos_module import TestNvosModule class TestPrefixListNetworkModule(TestNvosModule): diff --git a/tests/unit/modules/network/netvisor/test_pn_role.py b/tests/unit/modules/network/netvisor/test_pn_role.py index e382f9b5c9..7fbd1f8282 100644 --- a/tests/unit/modules/network/netvisor/test_pn_role.py +++ b/tests/unit/modules/network/netvisor/test_pn_role.py @@ -7,7 +7,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.netvisor import pn_role from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..nvos_module import TestNvosModule +from .nvos_module import TestNvosModule class TestRoleModule(TestNvosModule): diff --git a/tests/unit/modules/network/netvisor/test_pn_snmp_community.py b/tests/unit/modules/network/netvisor/test_pn_snmp_community.py index b98341ec43..5f137dcbe1 100644 --- a/tests/unit/modules/network/netvisor/test_pn_snmp_community.py +++ b/tests/unit/modules/network/netvisor/test_pn_snmp_community.py @@ -7,7 +7,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.netvisor import pn_snmp_community from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..nvos_module import TestNvosModule +from .nvos_module import TestNvosModule class TestSnmpCommunityModule(TestNvosModule): diff --git a/tests/unit/modules/network/netvisor/test_pn_snmp_trap_sink.py b/tests/unit/modules/network/netvisor/test_pn_snmp_trap_sink.py index 31a62365bf..4fddfd3d7f 100644 --- a/tests/unit/modules/network/netvisor/test_pn_snmp_trap_sink.py +++ b/tests/unit/modules/network/netvisor/test_pn_snmp_trap_sink.py @@ -7,7 +7,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.netvisor import pn_snmp_trap_sink from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..nvos_module import TestNvosModule +from .nvos_module import TestNvosModule class TestSnmpTrapSinkModule(TestNvosModule): diff --git a/tests/unit/modules/network/netvisor/test_pn_snmp_vacm.py b/tests/unit/modules/network/netvisor/test_pn_snmp_vacm.py index 89f82fe87f..113f07cfab 100644 --- a/tests/unit/modules/network/netvisor/test_pn_snmp_vacm.py +++ b/tests/unit/modules/network/netvisor/test_pn_snmp_vacm.py @@ -7,7 +7,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.netvisor import pn_snmp_vacm from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..nvos_module import TestNvosModule +from .nvos_module import TestNvosModule class TestSnmpVacmModule(TestNvosModule): diff --git a/tests/unit/modules/network/netvisor/test_pn_stp.py b/tests/unit/modules/network/netvisor/test_pn_stp.py index 46425fbfb0..3d78aac27c 100644 --- a/tests/unit/modules/network/netvisor/test_pn_stp.py +++ b/tests/unit/modules/network/netvisor/test_pn_stp.py @@ -7,7 +7,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.netvisor import pn_stp from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..nvos_module import TestNvosModule +from .nvos_module import TestNvosModule class TestStpModule(TestNvosModule): diff --git a/tests/unit/modules/network/netvisor/test_pn_stp_port.py b/tests/unit/modules/network/netvisor/test_pn_stp_port.py index cca7122a6f..cdd3985711 100644 --- a/tests/unit/modules/network/netvisor/test_pn_stp_port.py +++ b/tests/unit/modules/network/netvisor/test_pn_stp_port.py @@ -7,7 +7,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.netvisor import pn_stp_port from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..nvos_module import TestNvosModule +from .nvos_module import TestNvosModule class TestStpPortModule(TestNvosModule): diff --git a/tests/unit/modules/network/netvisor/test_pn_switch_setup.py b/tests/unit/modules/network/netvisor/test_pn_switch_setup.py index 82405f2301..1441ac183c 100644 --- a/tests/unit/modules/network/netvisor/test_pn_switch_setup.py +++ b/tests/unit/modules/network/netvisor/test_pn_switch_setup.py @@ -7,7 +7,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.netvisor import pn_switch_setup from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..nvos_module import TestNvosModule +from .nvos_module import TestNvosModule class TestSwitchSetupModule(TestNvosModule): diff --git a/tests/unit/modules/network/netvisor/test_pn_user.py b/tests/unit/modules/network/netvisor/test_pn_user.py index 3a441f2e69..1ac593316d 100644 --- a/tests/unit/modules/network/netvisor/test_pn_user.py +++ b/tests/unit/modules/network/netvisor/test_pn_user.py @@ -7,7 +7,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.netvisor import pn_user from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..nvos_module import TestNvosModule +from .nvos_module import TestNvosModule class TestUserModule(TestNvosModule): diff --git a/tests/unit/modules/network/netvisor/test_pn_vflow_table_profile.py b/tests/unit/modules/network/netvisor/test_pn_vflow_table_profile.py index 2628f790fc..c7d607c4cb 100644 --- a/tests/unit/modules/network/netvisor/test_pn_vflow_table_profile.py +++ b/tests/unit/modules/network/netvisor/test_pn_vflow_table_profile.py @@ -7,7 +7,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.netvisor import pn_vflow_table_profile from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..nvos_module import TestNvosModule +from .nvos_module import TestNvosModule class TestVflowTableProfileModule(TestNvosModule): diff --git a/tests/unit/modules/network/netvisor/test_pn_vrouter_bgp.py b/tests/unit/modules/network/netvisor/test_pn_vrouter_bgp.py index 20efdebd11..708e5ed99e 100644 --- a/tests/unit/modules/network/netvisor/test_pn_vrouter_bgp.py +++ b/tests/unit/modules/network/netvisor/test_pn_vrouter_bgp.py @@ -7,7 +7,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.netvisor import pn_vrouter_bgp from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..nvos_module import TestNvosModule +from .nvos_module import TestNvosModule class TestVrouterBGPModule(TestNvosModule): diff --git a/tests/unit/modules/network/netvisor/test_pn_vrouter_bgp_network.py b/tests/unit/modules/network/netvisor/test_pn_vrouter_bgp_network.py index 2e54a56a79..fb8d75cc41 100644 --- a/tests/unit/modules/network/netvisor/test_pn_vrouter_bgp_network.py +++ b/tests/unit/modules/network/netvisor/test_pn_vrouter_bgp_network.py @@ -7,7 +7,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.netvisor import pn_vrouter_bgp_network from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..nvos_module import TestNvosModule +from .nvos_module import TestNvosModule class TestVrouterBGPNetworkModule(TestNvosModule): diff --git a/tests/unit/modules/network/netvisor/test_pn_vrouter_interface_ip.py b/tests/unit/modules/network/netvisor/test_pn_vrouter_interface_ip.py index 7c3c840d16..c53b88faf6 100644 --- a/tests/unit/modules/network/netvisor/test_pn_vrouter_interface_ip.py +++ b/tests/unit/modules/network/netvisor/test_pn_vrouter_interface_ip.py @@ -7,7 +7,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.netvisor import pn_vrouter_interface_ip from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..nvos_module import TestNvosModule +from .nvos_module import TestNvosModule class TestVrouterInterfaceIpModule(TestNvosModule): diff --git a/tests/unit/modules/network/netvisor/test_pn_vrouter_loopback_interface.py b/tests/unit/modules/network/netvisor/test_pn_vrouter_loopback_interface.py index 99bc66fbf6..2ac02360e9 100644 --- a/tests/unit/modules/network/netvisor/test_pn_vrouter_loopback_interface.py +++ b/tests/unit/modules/network/netvisor/test_pn_vrouter_loopback_interface.py @@ -7,7 +7,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.netvisor import pn_vrouter_loopback_interface from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..nvos_module import TestNvosModule +from .nvos_module import TestNvosModule class TestVrouterLoopbackInterfaceModule(TestNvosModule): diff --git a/tests/unit/modules/network/netvisor/test_pn_vrouter_ospf.py b/tests/unit/modules/network/netvisor/test_pn_vrouter_ospf.py index 3e574ca53d..b18818a2df 100644 --- a/tests/unit/modules/network/netvisor/test_pn_vrouter_ospf.py +++ b/tests/unit/modules/network/netvisor/test_pn_vrouter_ospf.py @@ -7,7 +7,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.netvisor import pn_vrouter_ospf from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..nvos_module import TestNvosModule +from .nvos_module import TestNvosModule class TestVrouterOSPFModule(TestNvosModule): diff --git a/tests/unit/modules/network/netvisor/test_pn_vrouter_ospf6.py b/tests/unit/modules/network/netvisor/test_pn_vrouter_ospf6.py index 718d82aeb6..8fa9a47f52 100644 --- a/tests/unit/modules/network/netvisor/test_pn_vrouter_ospf6.py +++ b/tests/unit/modules/network/netvisor/test_pn_vrouter_ospf6.py @@ -7,7 +7,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.netvisor import pn_vrouter_ospf6 from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..nvos_module import TestNvosModule +from .nvos_module import TestNvosModule class TestVrouterOSPF6Module(TestNvosModule): diff --git a/tests/unit/modules/network/netvisor/test_pn_vrouter_packet_relay.py b/tests/unit/modules/network/netvisor/test_pn_vrouter_packet_relay.py index 51925277a2..54bd02cb34 100644 --- a/tests/unit/modules/network/netvisor/test_pn_vrouter_packet_relay.py +++ b/tests/unit/modules/network/netvisor/test_pn_vrouter_packet_relay.py @@ -7,7 +7,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.netvisor import pn_vrouter_packet_relay from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..nvos_module import TestNvosModule +from .nvos_module import TestNvosModule class TestVrouterPacketRelayModule(TestNvosModule): diff --git a/tests/unit/modules/network/netvisor/test_pn_vrouter_pim_config.py b/tests/unit/modules/network/netvisor/test_pn_vrouter_pim_config.py index d857e44c19..de06862e24 100644 --- a/tests/unit/modules/network/netvisor/test_pn_vrouter_pim_config.py +++ b/tests/unit/modules/network/netvisor/test_pn_vrouter_pim_config.py @@ -7,7 +7,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.netvisor import pn_vrouter_pim_config from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..nvos_module import TestNvosModule +from .nvos_module import TestNvosModule class TestVrouterPimConfigModule(TestNvosModule): diff --git a/tests/unit/modules/network/netvisor/test_pn_vtep.py b/tests/unit/modules/network/netvisor/test_pn_vtep.py index 134f9c3a65..e7a3c79e37 100644 --- a/tests/unit/modules/network/netvisor/test_pn_vtep.py +++ b/tests/unit/modules/network/netvisor/test_pn_vtep.py @@ -9,7 +9,7 @@ import json from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.netvisor import pn_vtep from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..nvos_module import TestNvosModule, load_fixture +from .nvos_module import TestNvosModule, load_fixture class TestVtepModule(TestNvosModule): diff --git a/tests/unit/modules/network/nos/test_nos_command.py b/tests/unit/modules/network/nos/test_nos_command.py index ee0bf0f6ba..f66948a326 100644 --- a/tests/unit/modules/network/nos/test_nos_command.py +++ b/tests/unit/modules/network/nos/test_nos_command.py @@ -24,7 +24,7 @@ import json from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.tests.unit.modules.utils import set_module_args from ansible_collections.community.general.plugins.modules.network.nos import nos_command -from ..nos_module import TestNosModule, load_fixture +from .nos_module import TestNosModule, load_fixture class TestNosCommandModule(TestNosModule): diff --git a/tests/unit/modules/network/nos/test_nos_config.py b/tests/unit/modules/network/nos/test_nos_config.py index 3e593266cb..3bd3f07252 100644 --- a/tests/unit/modules/network/nos/test_nos_config.py +++ b/tests/unit/modules/network/nos/test_nos_config.py @@ -22,7 +22,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.tests.unit.modules.utils import set_module_args from ansible_collections.community.general.plugins.modules.network.nos import nos_config -from ..nos_module import TestNosModule, load_fixture +from .nos_module import TestNosModule, load_fixture class TestNosConfigModule(TestNosModule): diff --git a/tests/unit/modules/network/nos/test_nos_facts.py b/tests/unit/modules/network/nos/test_nos_facts.py index 714fcf95f0..8f6d5f69ea 100644 --- a/tests/unit/modules/network/nos/test_nos_facts.py +++ b/tests/unit/modules/network/nos/test_nos_facts.py @@ -22,7 +22,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.tests.unit.modules.utils import set_module_args from ansible_collections.community.general.plugins.modules.network.nos import nos_facts -from ..nos_module import TestNosModule, load_fixture +from .nos_module import TestNosModule, load_fixture class TestNosFactsModule(TestNosModule): diff --git a/tests/unit/modules/network/nso/test_nso_action.py b/tests/unit/modules/network/nso/test_nso_action.py index 362c0dcf72..7a91305015 100644 --- a/tests/unit/modules/network/nso/test_nso_action.py +++ b/tests/unit/modules/network/nso/test_nso_action.py @@ -23,7 +23,7 @@ import json from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.nso import nso_action from . import nso_module -from ..nso_module import MockResponse +from .nso_module import MockResponse from ansible_collections.community.general.tests.unit.modules.utils import set_module_args diff --git a/tests/unit/modules/network/nso/test_nso_config.py b/tests/unit/modules/network/nso/test_nso_config.py index 6a544a742c..6211a736fc 100644 --- a/tests/unit/modules/network/nso/test_nso_config.py +++ b/tests/unit/modules/network/nso/test_nso_config.py @@ -24,7 +24,7 @@ from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.nso import nso_config from ansible_collections.community.general.tests.unit.modules.utils import set_module_args from . import nso_module -from ..nso_module import MockResponse +from .nso_module import MockResponse class TestNsoConfig(nso_module.TestNsoModule): diff --git a/tests/unit/modules/network/nso/test_nso_query.py b/tests/unit/modules/network/nso/test_nso_query.py index 5d4d76b2c8..f355cd40f3 100644 --- a/tests/unit/modules/network/nso/test_nso_query.py +++ b/tests/unit/modules/network/nso/test_nso_query.py @@ -21,7 +21,7 @@ from __future__ import (absolute_import, division, print_function) from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.nso import nso_query from . import nso_module -from ..nso_module import MockResponse +from .nso_module import MockResponse from ansible_collections.community.general.tests.unit.modules.utils import set_module_args diff --git a/tests/unit/modules/network/nso/test_nso_show.py b/tests/unit/modules/network/nso/test_nso_show.py index 9372b508c1..b393bc2f34 100644 --- a/tests/unit/modules/network/nso/test_nso_show.py +++ b/tests/unit/modules/network/nso/test_nso_show.py @@ -21,7 +21,7 @@ from __future__ import (absolute_import, division, print_function) from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.nso import nso_show from . import nso_module -from ..nso_module import MockResponse +from .nso_module import MockResponse from ansible_collections.community.general.tests.unit.modules.utils import set_module_args diff --git a/tests/unit/modules/network/nso/test_nso_verify.py b/tests/unit/modules/network/nso/test_nso_verify.py index 5b66c038c1..db307587f3 100644 --- a/tests/unit/modules/network/nso/test_nso_verify.py +++ b/tests/unit/modules/network/nso/test_nso_verify.py @@ -23,7 +23,7 @@ import json from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.nso import nso_verify from . import nso_module -from ..nso_module import MockResponse +from .nso_module import MockResponse from ansible_collections.community.general.tests.unit.modules.utils import set_module_args diff --git a/tests/unit/modules/network/nuage/test_nuage_vspk.py b/tests/unit/modules/network/nuage/test_nuage_vspk.py index 67e0365217..a54a5e079f 100644 --- a/tests/unit/modules/network/nuage/test_nuage_vspk.py +++ b/tests/unit/modules/network/nuage/test_nuage_vspk.py @@ -34,7 +34,7 @@ except ImportError: from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.tests.unit.modules.utils import set_module_args, AnsibleExitJson, AnsibleFailJson -from ..nuage_module import MockNuageConnection, TestNuageModule +from .nuage_module import MockNuageConnection, TestNuageModule _LOOP_COUNTER = 0 diff --git a/tests/unit/modules/network/onyx/test_onyx_aaa.py b/tests/unit/modules/network/onyx/test_onyx_aaa.py index 2941d66d3a..8a4ddfb153 100644 --- a/tests/unit/modules/network/onyx/test_onyx_aaa.py +++ b/tests/unit/modules/network/onyx/test_onyx_aaa.py @@ -9,7 +9,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.onyx import onyx_aaa from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..onyx_module import TestOnyxModule, load_fixture +from .onyx_module import TestOnyxModule, load_fixture class TestOnyxAAAModule(TestOnyxModule): diff --git a/tests/unit/modules/network/onyx/test_onyx_bfd.py b/tests/unit/modules/network/onyx/test_onyx_bfd.py index be656c6672..6ac4d0c38a 100644 --- a/tests/unit/modules/network/onyx/test_onyx_bfd.py +++ b/tests/unit/modules/network/onyx/test_onyx_bfd.py @@ -9,7 +9,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.onyx import onyx_bfd from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..onyx_module import TestOnyxModule, load_fixture +from .onyx_module import TestOnyxModule, load_fixture class TestOnyxBFDModule(TestOnyxModule): diff --git a/tests/unit/modules/network/onyx/test_onyx_bgp.py b/tests/unit/modules/network/onyx/test_onyx_bgp.py index d15a1fb032..a43e9553cb 100644 --- a/tests/unit/modules/network/onyx/test_onyx_bgp.py +++ b/tests/unit/modules/network/onyx/test_onyx_bgp.py @@ -9,7 +9,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.onyx import onyx_bgp from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..onyx_module import TestOnyxModule, load_fixture +from .onyx_module import TestOnyxModule, load_fixture class TestOnyxBgpModule(TestOnyxModule): diff --git a/tests/unit/modules/network/onyx/test_onyx_buffer_pool.py b/tests/unit/modules/network/onyx/test_onyx_buffer_pool.py index 72e521265b..169aa12f52 100644 --- a/tests/unit/modules/network/onyx/test_onyx_buffer_pool.py +++ b/tests/unit/modules/network/onyx/test_onyx_buffer_pool.py @@ -9,7 +9,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.onyx import onyx_buffer_pool from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..onyx_module import TestOnyxModule, load_fixture +from .onyx_module import TestOnyxModule, load_fixture class TestOnyxBufferPoolModule(TestOnyxModule): diff --git a/tests/unit/modules/network/onyx/test_onyx_command.py b/tests/unit/modules/network/onyx/test_onyx_command.py index bf72e1fbe1..2ffaba196a 100644 --- a/tests/unit/modules/network/onyx/test_onyx_command.py +++ b/tests/unit/modules/network/onyx/test_onyx_command.py @@ -24,7 +24,7 @@ import json from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.onyx import onyx_command from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..onyx_module import TestOnyxModule, load_fixture +from .onyx_module import TestOnyxModule, load_fixture class TestOnyxCommandModule(TestOnyxModule): diff --git a/tests/unit/modules/network/onyx/test_onyx_config.py b/tests/unit/modules/network/onyx/test_onyx_config.py index 49cb886da4..64b1d0c2ea 100644 --- a/tests/unit/modules/network/onyx/test_onyx_config.py +++ b/tests/unit/modules/network/onyx/test_onyx_config.py @@ -23,7 +23,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.onyx import onyx_config from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..onyx_module import TestOnyxModule, load_fixture +from .onyx_module import TestOnyxModule, load_fixture class TestOnyxConfigModule(TestOnyxModule): diff --git a/tests/unit/modules/network/onyx/test_onyx_facts.py b/tests/unit/modules/network/onyx/test_onyx_facts.py index 614e00aae4..ba02ae9e81 100644 --- a/tests/unit/modules/network/onyx/test_onyx_facts.py +++ b/tests/unit/modules/network/onyx/test_onyx_facts.py @@ -8,7 +8,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..onyx_module import TestOnyxModule, load_fixture +from .onyx_module import TestOnyxModule, load_fixture from ansible_collections.community.general.plugins.modules.network.onyx import onyx_facts diff --git a/tests/unit/modules/network/onyx/test_onyx_igmp.py b/tests/unit/modules/network/onyx/test_onyx_igmp.py index 22fe0133ef..6f8a041f1a 100644 --- a/tests/unit/modules/network/onyx/test_onyx_igmp.py +++ b/tests/unit/modules/network/onyx/test_onyx_igmp.py @@ -9,7 +9,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.onyx import onyx_igmp from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..onyx_module import TestOnyxModule, load_fixture +from .onyx_module import TestOnyxModule, load_fixture class TestOnyxIgmpModule(TestOnyxModule): diff --git a/tests/unit/modules/network/onyx/test_onyx_igmp_interface.py b/tests/unit/modules/network/onyx/test_onyx_igmp_interface.py index 01b8b6cacb..b470a106e1 100644 --- a/tests/unit/modules/network/onyx/test_onyx_igmp_interface.py +++ b/tests/unit/modules/network/onyx/test_onyx_igmp_interface.py @@ -23,7 +23,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.onyx import onyx_igmp_interface from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..onyx_module import TestOnyxModule, load_fixture +from .onyx_module import TestOnyxModule, load_fixture class TestOnyxIgmpInterfaceModule(TestOnyxModule): diff --git a/tests/unit/modules/network/onyx/test_onyx_igmp_vlan.py b/tests/unit/modules/network/onyx/test_onyx_igmp_vlan.py index 8c8ce4fd00..1c2c999e0e 100644 --- a/tests/unit/modules/network/onyx/test_onyx_igmp_vlan.py +++ b/tests/unit/modules/network/onyx/test_onyx_igmp_vlan.py @@ -9,7 +9,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.onyx import onyx_igmp_vlan from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..onyx_module import TestOnyxModule, load_fixture +from .onyx_module import TestOnyxModule, load_fixture class TestOnyxIgmpVlan(TestOnyxModule): diff --git a/tests/unit/modules/network/onyx/test_onyx_interface.py b/tests/unit/modules/network/onyx/test_onyx_interface.py index 7c592a0fff..44809f1697 100644 --- a/tests/unit/modules/network/onyx/test_onyx_interface.py +++ b/tests/unit/modules/network/onyx/test_onyx_interface.py @@ -9,7 +9,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.onyx import onyx_interface from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..onyx_module import TestOnyxModule, load_fixture +from .onyx_module import TestOnyxModule, load_fixture class TestOnyxInterfaceModule(TestOnyxModule): diff --git a/tests/unit/modules/network/onyx/test_onyx_l2_interface.py b/tests/unit/modules/network/onyx/test_onyx_l2_interface.py index 0f90e35a61..4f06d26d27 100644 --- a/tests/unit/modules/network/onyx/test_onyx_l2_interface.py +++ b/tests/unit/modules/network/onyx/test_onyx_l2_interface.py @@ -23,7 +23,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.onyx import onyx_l2_interface from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..onyx_module import TestOnyxModule, load_fixture +from .onyx_module import TestOnyxModule, load_fixture class TestOnyxInterfaceModule(TestOnyxModule): diff --git a/tests/unit/modules/network/onyx/test_onyx_l3_interface.py b/tests/unit/modules/network/onyx/test_onyx_l3_interface.py index 7825fc2cf2..78f2af975d 100644 --- a/tests/unit/modules/network/onyx/test_onyx_l3_interface.py +++ b/tests/unit/modules/network/onyx/test_onyx_l3_interface.py @@ -9,7 +9,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.onyx import onyx_l3_interface from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..onyx_module import TestOnyxModule, load_fixture +from .onyx_module import TestOnyxModule, load_fixture class TestOnyxL3InterfaceModule(TestOnyxModule): diff --git a/tests/unit/modules/network/onyx/test_onyx_linkagg.py b/tests/unit/modules/network/onyx/test_onyx_linkagg.py index 20c01f2238..f8e65b8e0a 100644 --- a/tests/unit/modules/network/onyx/test_onyx_linkagg.py +++ b/tests/unit/modules/network/onyx/test_onyx_linkagg.py @@ -9,7 +9,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.onyx import onyx_linkagg from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..onyx_module import TestOnyxModule, load_fixture +from .onyx_module import TestOnyxModule, load_fixture class TestOnyxLinkaggModule(TestOnyxModule): diff --git a/tests/unit/modules/network/onyx/test_onyx_lldp.py b/tests/unit/modules/network/onyx/test_onyx_lldp.py index 4f8e06c173..a42a044d23 100644 --- a/tests/unit/modules/network/onyx/test_onyx_lldp.py +++ b/tests/unit/modules/network/onyx/test_onyx_lldp.py @@ -23,7 +23,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.onyx import onyx_lldp from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..onyx_module import TestOnyxModule, load_fixture +from .onyx_module import TestOnyxModule, load_fixture class TestOnyxInterfaceModule(TestOnyxModule): diff --git a/tests/unit/modules/network/onyx/test_onyx_lldp_interface.py b/tests/unit/modules/network/onyx/test_onyx_lldp_interface.py index b550418503..ac47a0c07b 100644 --- a/tests/unit/modules/network/onyx/test_onyx_lldp_interface.py +++ b/tests/unit/modules/network/onyx/test_onyx_lldp_interface.py @@ -9,7 +9,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.onyx import onyx_lldp_interface from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..onyx_module import TestOnyxModule, load_fixture +from .onyx_module import TestOnyxModule, load_fixture class TestOnyxLldpInterfaceModule(TestOnyxModule): diff --git a/tests/unit/modules/network/onyx/test_onyx_magp.py b/tests/unit/modules/network/onyx/test_onyx_magp.py index 6c320606b3..18fe23a76c 100644 --- a/tests/unit/modules/network/onyx/test_onyx_magp.py +++ b/tests/unit/modules/network/onyx/test_onyx_magp.py @@ -9,7 +9,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.onyx import onyx_magp from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..onyx_module import TestOnyxModule, load_fixture +from .onyx_module import TestOnyxModule, load_fixture class TestOnyxMagpModule(TestOnyxModule): diff --git a/tests/unit/modules/network/onyx/test_onyx_mlag_ipl.py b/tests/unit/modules/network/onyx/test_onyx_mlag_ipl.py index b0c2274c80..00d2e962b4 100644 --- a/tests/unit/modules/network/onyx/test_onyx_mlag_ipl.py +++ b/tests/unit/modules/network/onyx/test_onyx_mlag_ipl.py @@ -9,7 +9,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.onyx import onyx_mlag_ipl from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..onyx_module import TestOnyxModule, load_fixture +from .onyx_module import TestOnyxModule, load_fixture class TestOnyxMlagIplModule(TestOnyxModule): diff --git a/tests/unit/modules/network/onyx/test_onyx_mlag_vip.py b/tests/unit/modules/network/onyx/test_onyx_mlag_vip.py index ca9caf3f80..36260bf66e 100644 --- a/tests/unit/modules/network/onyx/test_onyx_mlag_vip.py +++ b/tests/unit/modules/network/onyx/test_onyx_mlag_vip.py @@ -9,7 +9,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.onyx import onyx_mlag_vip from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..onyx_module import TestOnyxModule, load_fixture +from .onyx_module import TestOnyxModule, load_fixture class TestOnyxMlagVipModule(TestOnyxModule): diff --git a/tests/unit/modules/network/onyx/test_onyx_ntp.py b/tests/unit/modules/network/onyx/test_onyx_ntp.py index 7e810989bb..60cd45e1be 100644 --- a/tests/unit/modules/network/onyx/test_onyx_ntp.py +++ b/tests/unit/modules/network/onyx/test_onyx_ntp.py @@ -9,7 +9,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.onyx import onyx_ntp from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..onyx_module import TestOnyxModule, load_fixture +from .onyx_module import TestOnyxModule, load_fixture class TestOnyxNTP(TestOnyxModule): diff --git a/tests/unit/modules/network/onyx/test_onyx_ntp_servers_peers.py b/tests/unit/modules/network/onyx/test_onyx_ntp_servers_peers.py index 150ff54e70..662edbff37 100644 --- a/tests/unit/modules/network/onyx/test_onyx_ntp_servers_peers.py +++ b/tests/unit/modules/network/onyx/test_onyx_ntp_servers_peers.py @@ -9,7 +9,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.onyx import onyx_ntp_servers_peers from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..onyx_module import TestOnyxModule, load_fixture +from .onyx_module import TestOnyxModule, load_fixture class TestOnyxNtpServersPeersModule(TestOnyxModule): diff --git a/tests/unit/modules/network/onyx/test_onyx_ospf.py b/tests/unit/modules/network/onyx/test_onyx_ospf.py index 206b2de002..a4a5aafcac 100644 --- a/tests/unit/modules/network/onyx/test_onyx_ospf.py +++ b/tests/unit/modules/network/onyx/test_onyx_ospf.py @@ -9,7 +9,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.onyx import onyx_ospf from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..onyx_module import TestOnyxModule, load_fixture +from .onyx_module import TestOnyxModule, load_fixture class TestOnyxOspfModule(TestOnyxModule): diff --git a/tests/unit/modules/network/onyx/test_onyx_pfc_interface.py b/tests/unit/modules/network/onyx/test_onyx_pfc_interface.py index dbaaf23f14..d961476a4a 100644 --- a/tests/unit/modules/network/onyx/test_onyx_pfc_interface.py +++ b/tests/unit/modules/network/onyx/test_onyx_pfc_interface.py @@ -9,7 +9,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.onyx import onyx_pfc_interface from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..onyx_module import TestOnyxModule, load_fixture +from .onyx_module import TestOnyxModule, load_fixture class TestOnyxPfcInterfaceModule(TestOnyxModule): diff --git a/tests/unit/modules/network/onyx/test_onyx_protocol.py b/tests/unit/modules/network/onyx/test_onyx_protocol.py index 6efc614f02..2a845bea52 100644 --- a/tests/unit/modules/network/onyx/test_onyx_protocol.py +++ b/tests/unit/modules/network/onyx/test_onyx_protocol.py @@ -9,7 +9,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.onyx import onyx_protocol from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..onyx_module import TestOnyxModule, load_fixture +from .onyx_module import TestOnyxModule, load_fixture class TestOnyxProtocolModule(TestOnyxModule): diff --git a/tests/unit/modules/network/onyx/test_onyx_ptp_global.py b/tests/unit/modules/network/onyx/test_onyx_ptp_global.py index f6e797a81a..c7642cf948 100644 --- a/tests/unit/modules/network/onyx/test_onyx_ptp_global.py +++ b/tests/unit/modules/network/onyx/test_onyx_ptp_global.py @@ -23,7 +23,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.onyx import onyx_ptp_global from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..onyx_module import TestOnyxModule, load_fixture +from .onyx_module import TestOnyxModule, load_fixture class TestOnyxPtpModule(TestOnyxModule): diff --git a/tests/unit/modules/network/onyx/test_onyx_ptp_interface.py b/tests/unit/modules/network/onyx/test_onyx_ptp_interface.py index c2a21b40a0..1805eb9ed7 100644 --- a/tests/unit/modules/network/onyx/test_onyx_ptp_interface.py +++ b/tests/unit/modules/network/onyx/test_onyx_ptp_interface.py @@ -9,7 +9,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.onyx import onyx_ptp_interface from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..onyx_module import TestOnyxModule, load_fixture +from .onyx_module import TestOnyxModule, load_fixture class TestOnyxPtpInterface(TestOnyxModule): diff --git a/tests/unit/modules/network/onyx/test_onyx_qos.py b/tests/unit/modules/network/onyx/test_onyx_qos.py index 0478b0b95d..8719befb44 100644 --- a/tests/unit/modules/network/onyx/test_onyx_qos.py +++ b/tests/unit/modules/network/onyx/test_onyx_qos.py @@ -9,7 +9,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.onyx import onyx_qos from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..onyx_module import TestOnyxModule, load_fixture +from .onyx_module import TestOnyxModule, load_fixture class TestOnyxQosModule(TestOnyxModule): diff --git a/tests/unit/modules/network/onyx/test_onyx_snmp.py b/tests/unit/modules/network/onyx/test_onyx_snmp.py index 5bcb7a1d51..7b20af14bb 100644 --- a/tests/unit/modules/network/onyx/test_onyx_snmp.py +++ b/tests/unit/modules/network/onyx/test_onyx_snmp.py @@ -9,7 +9,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.onyx import onyx_snmp from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..onyx_module import TestOnyxModule, load_fixture +from .onyx_module import TestOnyxModule, load_fixture class TestOnyxSNMPModule(TestOnyxModule): diff --git a/tests/unit/modules/network/onyx/test_onyx_snmp_hosts.py b/tests/unit/modules/network/onyx/test_onyx_snmp_hosts.py index 18bfde9d70..8a5ad66429 100644 --- a/tests/unit/modules/network/onyx/test_onyx_snmp_hosts.py +++ b/tests/unit/modules/network/onyx/test_onyx_snmp_hosts.py @@ -9,7 +9,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.onyx import onyx_snmp_hosts from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..onyx_module import TestOnyxModule, load_fixture +from .onyx_module import TestOnyxModule, load_fixture class TestOnyxSNMPHostsModule(TestOnyxModule): diff --git a/tests/unit/modules/network/onyx/test_onyx_snmp_users.py b/tests/unit/modules/network/onyx/test_onyx_snmp_users.py index 639959799c..5a6d470194 100644 --- a/tests/unit/modules/network/onyx/test_onyx_snmp_users.py +++ b/tests/unit/modules/network/onyx/test_onyx_snmp_users.py @@ -9,7 +9,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.onyx import onyx_snmp_users from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..onyx_module import TestOnyxModule, load_fixture +from .onyx_module import TestOnyxModule, load_fixture class TestOnyxSNMPUsersModule(TestOnyxModule): diff --git a/tests/unit/modules/network/onyx/test_onyx_syslog_files.py b/tests/unit/modules/network/onyx/test_onyx_syslog_files.py index 64e7c7605e..35b71bb0ca 100644 --- a/tests/unit/modules/network/onyx/test_onyx_syslog_files.py +++ b/tests/unit/modules/network/onyx/test_onyx_syslog_files.py @@ -9,7 +9,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.onyx import onyx_syslog_files from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..onyx_module import TestOnyxModule, load_fixture +from .onyx_module import TestOnyxModule, load_fixture class TestOnyxSyslogFilesModule(TestOnyxModule): diff --git a/tests/unit/modules/network/onyx/test_onyx_syslog_remote.py b/tests/unit/modules/network/onyx/test_onyx_syslog_remote.py index f7cb4253d4..fb42cce14d 100644 --- a/tests/unit/modules/network/onyx/test_onyx_syslog_remote.py +++ b/tests/unit/modules/network/onyx/test_onyx_syslog_remote.py @@ -9,7 +9,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.onyx import onyx_syslog_remote from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..onyx_module import TestOnyxModule, load_fixture +from .onyx_module import TestOnyxModule, load_fixture class TestOnyxSysLogRemoteModule(TestOnyxModule): diff --git a/tests/unit/modules/network/onyx/test_onyx_traffic_class.py b/tests/unit/modules/network/onyx/test_onyx_traffic_class.py index cda080748c..63cda50948 100644 --- a/tests/unit/modules/network/onyx/test_onyx_traffic_class.py +++ b/tests/unit/modules/network/onyx/test_onyx_traffic_class.py @@ -9,7 +9,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.onyx import onyx_traffic_class from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..onyx_module import TestOnyxModule, load_fixture +from .onyx_module import TestOnyxModule, load_fixture class TestOnyxTrafficClassModule(TestOnyxModule): diff --git a/tests/unit/modules/network/onyx/test_onyx_username.py b/tests/unit/modules/network/onyx/test_onyx_username.py index 6996e336c5..f21e785f80 100644 --- a/tests/unit/modules/network/onyx/test_onyx_username.py +++ b/tests/unit/modules/network/onyx/test_onyx_username.py @@ -9,7 +9,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.onyx import onyx_username from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..onyx_module import TestOnyxModule, load_fixture +from .onyx_module import TestOnyxModule, load_fixture class TestOnyxUsernameModule(TestOnyxModule): diff --git a/tests/unit/modules/network/onyx/test_onyx_vlan.py b/tests/unit/modules/network/onyx/test_onyx_vlan.py index 382c38ad3b..69ab1124e2 100644 --- a/tests/unit/modules/network/onyx/test_onyx_vlan.py +++ b/tests/unit/modules/network/onyx/test_onyx_vlan.py @@ -23,7 +23,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.onyx import onyx_vlan from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..onyx_module import TestOnyxModule, load_fixture +from .onyx_module import TestOnyxModule, load_fixture class TestOnyxVlanModule(TestOnyxModule): diff --git a/tests/unit/modules/network/onyx/test_onyx_vxlan.py b/tests/unit/modules/network/onyx/test_onyx_vxlan.py index a7789d0e7c..b5ce8bb5b1 100644 --- a/tests/unit/modules/network/onyx/test_onyx_vxlan.py +++ b/tests/unit/modules/network/onyx/test_onyx_vxlan.py @@ -9,7 +9,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.onyx import onyx_vxlan from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..onyx_module import TestOnyxModule, load_fixture +from .onyx_module import TestOnyxModule, load_fixture class TestOnyxVxlanModule(TestOnyxModule): diff --git a/tests/unit/modules/network/onyx/test_onyx_wjh.py b/tests/unit/modules/network/onyx/test_onyx_wjh.py index fb0dcbc071..f144bc4d70 100644 --- a/tests/unit/modules/network/onyx/test_onyx_wjh.py +++ b/tests/unit/modules/network/onyx/test_onyx_wjh.py @@ -9,7 +9,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.plugins.modules.network.onyx import onyx_wjh from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..onyx_module import TestOnyxModule, load_fixture +from .onyx_module import TestOnyxModule, load_fixture class TestOnyxWJHModule(TestOnyxModule): diff --git a/tests/unit/modules/network/opx/test_opx_cps.py b/tests/unit/modules/network/opx/test_opx_cps.py index 90a0375d02..9a3ae75c1c 100644 --- a/tests/unit/modules/network/opx/test_opx_cps.py +++ b/tests/unit/modules/network/opx/test_opx_cps.py @@ -45,7 +45,7 @@ sys.modules['cps_utils'] = Mock() from ansible_collections.community.general.plugins.modules.network.opx import opx_cps from ansible_collections.community.general.tests.unit.modules.utils import set_module_args -from ..opx_module import TestOpxModule, load_fixture +from .opx_module import TestOpxModule, load_fixture class TestOpxCpsModule(TestOpxModule): diff --git a/tests/unit/modules/network/slxos/test_slxos_command.py b/tests/unit/modules/network/slxos/test_slxos_command.py index aa8ebf95c6..1ab9aac667 100644 --- a/tests/unit/modules/network/slxos/test_slxos_command.py +++ b/tests/unit/modules/network/slxos/test_slxos_command.py @@ -24,7 +24,7 @@ import json from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.tests.unit.modules.utils import set_module_args from ansible_collections.community.general.plugins.modules.network.slxos import slxos_command -from ..slxos_module import TestSlxosModule, load_fixture +from .slxos_module import TestSlxosModule, load_fixture class TestSlxosCommandModule(TestSlxosModule): diff --git a/tests/unit/modules/network/slxos/test_slxos_config.py b/tests/unit/modules/network/slxos/test_slxos_config.py index cf85f47865..58c7cd1421 100644 --- a/tests/unit/modules/network/slxos/test_slxos_config.py +++ b/tests/unit/modules/network/slxos/test_slxos_config.py @@ -22,7 +22,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.tests.unit.modules.utils import set_module_args from ansible_collections.community.general.plugins.modules.network.slxos import slxos_config -from ..slxos_module import TestSlxosModule, load_fixture +from .slxos_module import TestSlxosModule, load_fixture class TestSlxosConfigModule(TestSlxosModule): diff --git a/tests/unit/modules/network/slxos/test_slxos_facts.py b/tests/unit/modules/network/slxos/test_slxos_facts.py index 5b38b30aca..5f3356432b 100644 --- a/tests/unit/modules/network/slxos/test_slxos_facts.py +++ b/tests/unit/modules/network/slxos/test_slxos_facts.py @@ -22,7 +22,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.tests.unit.modules.utils import set_module_args from ansible_collections.community.general.plugins.modules.network.slxos import slxos_facts -from ..slxos_module import TestSlxosModule, load_fixture +from .slxos_module import TestSlxosModule, load_fixture class TestSlxosFactsModule(TestSlxosModule): diff --git a/tests/unit/modules/network/slxos/test_slxos_interface.py b/tests/unit/modules/network/slxos/test_slxos_interface.py index 24423a8455..1bec01c5fb 100644 --- a/tests/unit/modules/network/slxos/test_slxos_interface.py +++ b/tests/unit/modules/network/slxos/test_slxos_interface.py @@ -24,7 +24,7 @@ import re from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.tests.unit.modules.utils import set_module_args from ansible_collections.community.general.plugins.modules.network.slxos import slxos_interface -from ..slxos_module import TestSlxosModule, load_fixture +from .slxos_module import TestSlxosModule, load_fixture class TestSlxosInterfaceModule(TestSlxosModule): diff --git a/tests/unit/modules/network/slxos/test_slxos_l2_interface.py b/tests/unit/modules/network/slxos/test_slxos_l2_interface.py index a61c2a9dd5..cde2a2c9af 100644 --- a/tests/unit/modules/network/slxos/test_slxos_l2_interface.py +++ b/tests/unit/modules/network/slxos/test_slxos_l2_interface.py @@ -24,7 +24,7 @@ import re from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.tests.unit.modules.utils import set_module_args from ansible_collections.community.general.plugins.modules.network.slxos import slxos_l2_interface -from ..slxos_module import TestSlxosModule, load_fixture +from .slxos_module import TestSlxosModule, load_fixture class TestSlxosL2InterfaceModule(TestSlxosModule): diff --git a/tests/unit/modules/network/slxos/test_slxos_l3_interface.py b/tests/unit/modules/network/slxos/test_slxos_l3_interface.py index 73448e6d24..798da29b8c 100644 --- a/tests/unit/modules/network/slxos/test_slxos_l3_interface.py +++ b/tests/unit/modules/network/slxos/test_slxos_l3_interface.py @@ -24,7 +24,7 @@ import re from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.tests.unit.modules.utils import set_module_args from ansible_collections.community.general.plugins.modules.network.slxos import slxos_l3_interface -from ..slxos_module import TestSlxosModule, load_fixture +from .slxos_module import TestSlxosModule, load_fixture class TestSlxosL3InterfaceModule(TestSlxosModule): diff --git a/tests/unit/modules/network/slxos/test_slxos_linkagg.py b/tests/unit/modules/network/slxos/test_slxos_linkagg.py index 2990b6f3da..50cb4192b7 100644 --- a/tests/unit/modules/network/slxos/test_slxos_linkagg.py +++ b/tests/unit/modules/network/slxos/test_slxos_linkagg.py @@ -24,7 +24,7 @@ import re from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.tests.unit.modules.utils import set_module_args from ansible_collections.community.general.plugins.modules.network.slxos import slxos_linkagg -from ..slxos_module import TestSlxosModule, load_fixture +from .slxos_module import TestSlxosModule, load_fixture class TestSlxosLinkaggModule(TestSlxosModule): diff --git a/tests/unit/modules/network/slxos/test_slxos_lldp.py b/tests/unit/modules/network/slxos/test_slxos_lldp.py index a0029adcc5..fc12977657 100644 --- a/tests/unit/modules/network/slxos/test_slxos_lldp.py +++ b/tests/unit/modules/network/slxos/test_slxos_lldp.py @@ -24,7 +24,7 @@ import re from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.tests.unit.modules.utils import set_module_args from ansible_collections.community.general.plugins.modules.network.slxos import slxos_lldp -from ..slxos_module import TestSlxosModule, load_fixture +from .slxos_module import TestSlxosModule, load_fixture class TestSlxosLldpModule(TestSlxosModule): diff --git a/tests/unit/modules/network/slxos/test_slxos_vlan.py b/tests/unit/modules/network/slxos/test_slxos_vlan.py index 531daf6b86..5f85643647 100644 --- a/tests/unit/modules/network/slxos/test_slxos_vlan.py +++ b/tests/unit/modules/network/slxos/test_slxos_vlan.py @@ -24,7 +24,7 @@ import re from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.tests.unit.modules.utils import set_module_args from ansible_collections.community.general.plugins.modules.network.slxos import slxos_vlan -from ..slxos_module import TestSlxosModule, load_fixture +from .slxos_module import TestSlxosModule, load_fixture class TestSlxosVlanModule(TestSlxosModule): diff --git a/tests/unit/modules/network/voss/test_voss_command.py b/tests/unit/modules/network/voss/test_voss_command.py index 1ee444bdaa..3295ad16c4 100644 --- a/tests/unit/modules/network/voss/test_voss_command.py +++ b/tests/unit/modules/network/voss/test_voss_command.py @@ -24,7 +24,7 @@ import json from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.tests.unit.modules.utils import set_module_args from ansible_collections.community.general.plugins.modules.network.voss import voss_command -from ..voss_module import TestVossModule, load_fixture +from .voss_module import TestVossModule, load_fixture class TestVossCommandModule(TestVossModule): diff --git a/tests/unit/modules/network/voss/test_voss_config.py b/tests/unit/modules/network/voss/test_voss_config.py index 409f29aa78..1e98f7454a 100644 --- a/tests/unit/modules/network/voss/test_voss_config.py +++ b/tests/unit/modules/network/voss/test_voss_config.py @@ -24,7 +24,7 @@ from ansible_collections.community.general.tests.unit.compat.mock import patch, from ansible_collections.community.general.tests.unit.modules.utils import set_module_args from ansible_collections.community.general.plugins.modules.network.voss import voss_config from ansible_collections.community.general.plugins.cliconf.voss import Cliconf -from ..voss_module import TestVossModule, load_fixture +from .voss_module import TestVossModule, load_fixture class TestVossConfigModule(TestVossModule): diff --git a/tests/unit/modules/network/voss/test_voss_facts.py b/tests/unit/modules/network/voss/test_voss_facts.py index e990924189..91319af361 100644 --- a/tests/unit/modules/network/voss/test_voss_facts.py +++ b/tests/unit/modules/network/voss/test_voss_facts.py @@ -20,7 +20,7 @@ __metaclass__ = type from ansible_collections.community.general.tests.unit.compat.mock import patch from ansible_collections.community.general.tests.unit.modules.utils import set_module_args from ansible_collections.community.general.plugins.modules.network.voss import voss_facts -from ..voss_module import TestVossModule, load_fixture +from .voss_module import TestVossModule, load_fixture class TestVossFactsModule(TestVossModule): diff --git a/tests/unit/modules/source_control/gitlab/test_gitlab_deploy_key.py b/tests/unit/modules/source_control/gitlab/test_gitlab_deploy_key.py index 08c8b4d346..4c14f45bee 100644 --- a/tests/unit/modules/source_control/gitlab/test_gitlab_deploy_key.py +++ b/tests/unit/modules/source_control/gitlab/test_gitlab_deploy_key.py @@ -18,10 +18,10 @@ def _dummy(x): pytestmark = [] try: - from ..gitlab import (GitlabModuleTestCase, - python_version_match_requirement, - resp_get_project, resp_find_project_deploy_key, - resp_create_project_deploy_key, resp_delete_project_deploy_key) + from .gitlab import (GitlabModuleTestCase, + python_version_match_requirement, + resp_get_project, resp_find_project_deploy_key, + resp_create_project_deploy_key, resp_delete_project_deploy_key) # GitLab module requirements if python_version_match_requirement(): diff --git a/tests/unit/modules/source_control/gitlab/test_gitlab_group.py b/tests/unit/modules/source_control/gitlab/test_gitlab_group.py index bfa31156d1..4313ad1fc0 100644 --- a/tests/unit/modules/source_control/gitlab/test_gitlab_group.py +++ b/tests/unit/modules/source_control/gitlab/test_gitlab_group.py @@ -18,10 +18,10 @@ def _dummy(x): pytestmark = [] try: - from ..gitlab import (GitlabModuleTestCase, - python_version_match_requirement, - resp_get_group, resp_get_missing_group, resp_create_group, - resp_create_subgroup, resp_delete_group, resp_find_group_project) + from .gitlab import (GitlabModuleTestCase, + python_version_match_requirement, + resp_get_group, resp_get_missing_group, resp_create_group, + resp_create_subgroup, resp_delete_group, resp_find_group_project) # GitLab module requirements if python_version_match_requirement(): diff --git a/tests/unit/modules/source_control/gitlab/test_gitlab_hook.py b/tests/unit/modules/source_control/gitlab/test_gitlab_hook.py index 1002b62e22..fe6ab70f87 100644 --- a/tests/unit/modules/source_control/gitlab/test_gitlab_hook.py +++ b/tests/unit/modules/source_control/gitlab/test_gitlab_hook.py @@ -17,10 +17,10 @@ def _dummy(x): pytestmark = [] try: - from ..gitlab import (GitlabModuleTestCase, - python_version_match_requirement, - resp_get_project, resp_find_project_hook, - resp_create_project_hook, resp_delete_project_hook) + from .gitlab import (GitlabModuleTestCase, + python_version_match_requirement, + resp_get_project, resp_find_project_hook, + resp_create_project_hook, resp_delete_project_hook) # GitLab module requirements if python_version_match_requirement(): diff --git a/tests/unit/modules/source_control/gitlab/test_gitlab_project.py b/tests/unit/modules/source_control/gitlab/test_gitlab_project.py index e03e423452..79d1cb0d81 100644 --- a/tests/unit/modules/source_control/gitlab/test_gitlab_project.py +++ b/tests/unit/modules/source_control/gitlab/test_gitlab_project.py @@ -18,10 +18,10 @@ def _dummy(x): pytestmark = [] try: - from ..gitlab import (GitlabModuleTestCase, - python_version_match_requirement, - resp_get_group, resp_get_project_by_name, resp_create_project, - resp_get_project, resp_delete_project, resp_get_user) + from .gitlab import (GitlabModuleTestCase, + python_version_match_requirement, + resp_get_group, resp_get_project_by_name, resp_create_project, + resp_get_project, resp_delete_project, resp_get_user) # GitLab module requirements if python_version_match_requirement(): diff --git a/tests/unit/modules/source_control/gitlab/test_gitlab_runner.py b/tests/unit/modules/source_control/gitlab/test_gitlab_runner.py index 0ae8dfe260..2b265d7e37 100644 --- a/tests/unit/modules/source_control/gitlab/test_gitlab_runner.py +++ b/tests/unit/modules/source_control/gitlab/test_gitlab_runner.py @@ -18,10 +18,10 @@ def _dummy(x): pytestmark = [] try: - from ..gitlab import (GitlabModuleTestCase, - python_version_match_requirement, - resp_find_runners_list, resp_get_runner, - resp_create_runner, resp_delete_runner) + from .gitlab import (GitlabModuleTestCase, + python_version_match_requirement, + resp_find_runners_list, resp_get_runner, + resp_create_runner, resp_delete_runner) # GitLab module requirements if python_version_match_requirement(): diff --git a/tests/unit/modules/source_control/gitlab/test_gitlab_user.py b/tests/unit/modules/source_control/gitlab/test_gitlab_user.py index dfa3660c9d..0c5f9c6a69 100644 --- a/tests/unit/modules/source_control/gitlab/test_gitlab_user.py +++ b/tests/unit/modules/source_control/gitlab/test_gitlab_user.py @@ -18,12 +18,12 @@ def _dummy(x): pytestmark = [] try: - from ..gitlab import (GitlabModuleTestCase, - python_version_match_requirement, - resp_find_user, resp_get_user, resp_get_user_keys, - resp_create_user_keys, resp_create_user, resp_delete_user, - resp_get_member, resp_get_group, resp_add_member, - resp_update_member, resp_get_member) + from .gitlab import (GitlabModuleTestCase, + python_version_match_requirement, + resp_find_user, resp_get_user, resp_get_user_keys, + resp_create_user_keys, resp_create_user, resp_delete_user, + resp_get_member, resp_get_group, resp_add_member, + resp_update_member, resp_get_member) # GitLab module requirements if python_version_match_requirement():