def test_show_eigrp_neighbors_detail_empty(self): self.maxDiff = None self.device = Mock(**self.device_output_empty) obj = ShowIpv4EigrpNeighborsDetail(device=self.device) with self.assertRaises(SchemaEmptyParserError): parsed_output = obj.parse()
def test_show_eigrp_neighbors_detail_1(self): self.maxDiff = None self.device = Mock(**self.device_output_1) obj = ShowIpv4EigrpNeighborsDetail(device=self.device) parsed_output = obj.parse() self.assertEqual(parsed_output, self.expected_parsed_output_1)