diff --git a/tests/unit/modules/network/ios/fixtures/ios_facts_show_ip_interface b/tests/unit/modules/network/ios/fixtures/ios_facts_show_ip_interface index c64043a87..1cffb658e 100644 --- a/tests/unit/modules/network/ios/fixtures/ios_facts_show_ip_interface +++ b/tests/unit/modules/network/ios/fixtures/ios_facts_show_ip_interface @@ -3,4 +3,4 @@ Tunnel1110 is up, line protocol is up GigabitEthernet2/5/5 is up, line protocol is up Internet protocol processing disabled GigabitEthernet2/5/5.1874 is deleted, line protocol is down - Internet protocol processing disabled \ No newline at end of file + Internet protocol processing disabled diff --git a/tests/unit/modules/network/ios/test_ios_facts.py b/tests/unit/modules/network/ios/test_ios_facts.py index 98c9b0ae2..ff01ec4f3 100644 --- a/tests/unit/modules/network/ios/test_ios_facts.py +++ b/tests/unit/modules/network/ios/test_ios_facts.py @@ -206,23 +206,22 @@ def test_ios_facts_interfaces(self): result = self.execute_module() self.assertEqual( result["ansible_facts"]["ansible_net_interfaces"]["GigabitEthernet2/5/5.1874"], - {'ipv4': [], 'operstatus': 'deleted'}, + {"ipv4": [], "operstatus": "deleted"}, ) self.assertEqual( result["ansible_facts"]["ansible_net_interfaces"]["Tunnel1110"], { - 'bandwidth': None, - 'description': None, - 'duplex': None, - 'ipv4': [ - {'address': '10.10.10.2', 'subnet': '30'} - ], - 'lineprotocol': 'up', - 'macaddress': None, - 'mediatype': None, - 'mtu': None, - 'operstatus': 'up', - 'type': None + "bandwidth": None, + "description": None, + "duplex": None, + "ipv4": [ + {"address": "10.10.10.2", "subnet": "30"}, + ], + "lineprotocol": "up", + "macaddress": None, + "mediatype": None, + "mtu": None, + "operstatus": "up", + "type": None, }, ) -