Example #1
0
 def test_show_eigrp_neighbors_empty(self):
     self.maxDiff = None
     self.device = Mock(**self.device_output_empty)
     obj = ShowIpv4EigrpNeighbors(device=self.device)
     with self.assertRaises(SchemaEmptyParserError):
         parsed_output = obj.parse()
Example #2
0
 def test_show_eigrp_neighbors_1(self):
     self.maxDiff = None
     self.device = Mock(**self.device_output_1)
     obj = ShowIpv4EigrpNeighbors(device=self.device)
     parsed_output = obj.parse()
     self.assertEqual(parsed_output, self.expected_parsed_output_1)