Skip to content

Commit

Permalink
Fix ipv6 test for nxos which causes RTD to fail (#720)
Browse files Browse the repository at this point in the history
  • Loading branch information
ogenstad authored and dbarrosop committed Apr 28, 2018
1 parent 758eb5e commit 492f8c3
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions test/nxos/test_getters.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,3 @@ def test_get_interfaces(self, test_case):
assert helpers.test_model(models.interface, interface_data)

return get_interfaces

@wrap_test_cases
def test_get_interfaces_ip_multiple_ipv6(self, test_case):
"""Test get_interfaces_ip. Covers cases when multiple IPv6 addresses are returned"""
get_interfaces_ip = self.device.get_interfaces_ip()
assert len(get_interfaces_ip) > 0

for interface, interface_details in get_interfaces_ip.items():
ipv4 = interface_details.get('ipv4', {})
ipv6 = interface_details.get('ipv6', {})
for ip, ip_details in ipv4.items():
assert helpers.test_model(models.interfaces_ip, ip_details)
for ip, ip_details in ipv6.items():
assert helpers.test_model(models.interfaces_ip, ip_details)

return get_interfaces_ip

0 comments on commit 492f8c3

Please sign in to comment.