Esempio n. 1
0
 def test_show_mfib_route_summary_full_custom_vrf(self):
     self.maxDiff = None
     self.device = Mock(**self.golden_output_3)
     obj = ShowMfibRouteSummary(device=self.device)
     parsed_output = obj.parse()
     self.assertEqual(parsed_output, self.golden_parsed_output_3)
Esempio n. 2
0
 def test_show_mfib_route_summary_empty(self):
     self.maxDiff = None
     self.device = Mock(**self.empty_output)
     obj = ShowMfibRouteSummary(device=self.device)
     with self.assertRaises(SchemaEmptyParserError):
         parsed_output = obj.parse()