summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changelogs/fragments/modify_resource_module_class_import.yaml3
-rw-r--r--tests/unit/modules/network/vyos/test_vyos_ospf_interfaces.py2
2 files changed, 4 insertions, 1 deletions
diff --git a/changelogs/fragments/modify_resource_module_class_import.yaml b/changelogs/fragments/modify_resource_module_class_import.yaml
new file mode 100644
index 0000000..ba94846
--- /dev/null
+++ b/changelogs/fragments/modify_resource_module_class_import.yaml
@@ -0,0 +1,3 @@
+---
+trivial:
+ - Modify import of resource_module class in unit tests.
diff --git a/tests/unit/modules/network/vyos/test_vyos_ospf_interfaces.py b/tests/unit/modules/network/vyos/test_vyos_ospf_interfaces.py
index 3250d11..cee1cfa 100644
--- a/tests/unit/modules/network/vyos/test_vyos_ospf_interfaces.py
+++ b/tests/unit/modules/network/vyos/test_vyos_ospf_interfaces.py
@@ -35,7 +35,7 @@ class TestVyosOspfInterfacesModule(TestVyosModule):
def setUp(self):
super(TestVyosOspfInterfacesModule, self).setUp()
self.mock_get_resource_connection_config = patch(
- "ansible_collections.ansible.netcommon.plugins.module_utils.network.common.resource_module.get_resource_connection"
+ "ansible_collections.ansible.netcommon.plugins.module_utils.network.common.rm_base.resource_module_base.get_resource_connection"
)
self.get_resource_connection_config = (
self.mock_get_resource_connection_config.start()