diff options
author | GomathiselviS <gomathiselvi@gmail.com> | 2020-07-31 20:19:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-01 00:19:45 +0000 |
commit | 2d6f63eb99d356691cb020911ba0234d7dbe9ddb (patch) | |
tree | a1e6c661edbdaa2bfa6a25427fa8ef4bd90f159b /tests/unit | |
parent | 1b58f4b0195b866b5d322c314ce66dcf72f8a9af (diff) | |
download | vyos.vyos-2d6f63eb99d356691cb020911ba0234d7dbe9ddb.tar.gz vyos.vyos-2d6f63eb99d356691cb020911ba0234d7dbe9ddb.zip |
Change module name in ospf unit tests (#72)1.0.2
Change module name in ospf unit tests
Reviewed-by: https://github.com/apps/ansible-zuul
Diffstat (limited to 'tests/unit')
-rw-r--r-- | tests/unit/modules/network/vyos/test_vyos_ospfv2.py | 6 | ||||
-rw-r--r-- | tests/unit/modules/network/vyos/test_vyos_ospfv3.py | 6 |
2 files changed, 6 insertions, 6 deletions
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() |