summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changelogs/fragments/72-modulename-typofix.yaml3
-rw-r--r--tests/unit/modules/network/vyos/test_vyos_ospfv2.py6
-rw-r--r--tests/unit/modules/network/vyos/test_vyos_ospfv3.py6
3 files changed, 9 insertions, 6 deletions
diff --git a/changelogs/fragments/72-modulename-typofix.yaml b/changelogs/fragments/72-modulename-typofix.yaml
new file mode 100644
index 0000000..67256f8
--- /dev/null
+++ b/changelogs/fragments/72-modulename-typofix.yaml
@@ -0,0 +1,3 @@
+---
+minor_change:
+ - Fixed the typo in the modulename of ospfv2 and ospfv3 unit tests.
diff --git a/tests/unit/modules/network/vyos/test_vyos_ospfv2.py b/tests/unit/modules/network/vyos/test_vyos_ospfv2.py
index 3d558b8..9df41a5 100644
--- a/tests/unit/modules/network/vyos/test_vyos_ospfv2.py
+++ b/tests/unit/modules/network/vyos/test_vyos_ospfv2.py
@@ -28,12 +28,12 @@ from ansible_collections.vyos.vyos.tests.unit.modules.utils import (
from .vyos_module import TestVyosModule, load_fixture
-class TestVyosFirewallRulesModule(TestVyosModule):
+class TestVyosOspfv2Module(TestVyosModule):
module = vyos_ospfv2
def setUp(self):
- super(TestVyosFirewallRulesModule, self).setUp()
+ super(TestVyosOspfv2Module, self).setUp()
self.mock_get_config = patch(
"ansible_collections.ansible.netcommon.plugins.module_utils.network.common.network.Config.get_config"
)
@@ -65,7 +65,7 @@ class TestVyosFirewallRulesModule(TestVyosModule):
self.execute_show_command = self.mock_execute_show_command.start()
def tearDown(self):
- super(TestVyosFirewallRulesModule, self).tearDown()
+ super(TestVyosOspfv2Module, self).tearDown()
self.mock_get_resource_connection_config.stop()
self.mock_get_resource_connection_facts.stop()
self.mock_get_config.stop()
diff --git a/tests/unit/modules/network/vyos/test_vyos_ospfv3.py b/tests/unit/modules/network/vyos/test_vyos_ospfv3.py
index 9c016da..ab38bf7 100644
--- a/tests/unit/modules/network/vyos/test_vyos_ospfv3.py
+++ b/tests/unit/modules/network/vyos/test_vyos_ospfv3.py
@@ -28,12 +28,12 @@ from ansible_collections.vyos.vyos.tests.unit.modules.utils import (
from .vyos_module import TestVyosModule, load_fixture
-class TestVyosFirewallRulesModule(TestVyosModule):
+class TestVyosOspfv3Module(TestVyosModule):
module = vyos_ospfv3
def setUp(self):
- super(TestVyosFirewallRulesModule, self).setUp()
+ super(TestVyosOspfv3Module, self).setUp()
self.mock_get_config = patch(
"ansible_collections.ansible.netcommon.plugins.module_utils.network.common.network.Config.get_config"
)
@@ -65,7 +65,7 @@ class TestVyosFirewallRulesModule(TestVyosModule):
self.execute_show_command = self.mock_execute_show_command.start()
def tearDown(self):
- super(TestVyosFirewallRulesModule, self).tearDown()
+ super(TestVyosOspfv3Module, self).tearDown()
self.mock_get_resource_connection_config.stop()
self.mock_get_resource_connection_facts.stop()
self.mock_get_config.stop()