summaryrefslogtreecommitdiff
path: root/test/units
diff options
context:
space:
mode:
authorDan <dan.murarasu@gmail.com>2018-09-25 07:08:39 +0100
committerTrishna Guha <trishnaguha17@gmail.com>2018-09-25 11:38:39 +0530
commita6c20488d3f5aa36dd770d7d3ca51f8a0b63335b (patch)
tree8766ef2bd801aa67f7238cf0cc739bd9a596a263 /test/units
parentd5f8738bf2dcdbc370b113e77653c78d38845410 (diff)
downloadansible-a6c20488d3f5aa36dd770d7d3ca51f8a0b63335b.tar.gz
Add ospf net type (#45904)
* Added ospf network type option to nxos_interface_ospf module * Added documentation and example for the 'network' parameter * adding version
Diffstat (limited to 'test/units')
-rw-r--r--test/units/modules/network/nxos/test_nxos_interface_ospf.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/units/modules/network/nxos/test_nxos_interface_ospf.py b/test/units/modules/network/nxos/test_nxos_interface_ospf.py
index 7d9e9d9598..525d88e267 100644
--- a/test/units/modules/network/nxos/test_nxos_interface_ospf.py
+++ b/test/units/modules/network/nxos/test_nxos_interface_ospf.py
@@ -54,3 +54,5 @@ class TestNxosInterfaceOspfModule(TestNxosModule):
def test_loopback_interface_failed(self):
set_module_args(dict(interface='loopback0', ospf=1, area=0, passive_interface=True))
self.execute_module(failed=True, changed=False)
+ set_module_args(dict(interface='loopback0', ospf=1, area=0, network='broadcast'))
+ self.execute_module(failed=True, changed=False)