示例#1
0
 def test_show_ipv6_route_2(self):
     self.maxDiff = None
     self.device = Mock(**self.golden_output_2)
     obj = ShowIpv6RouteUpdated(device=self.device)
     parsed_output = obj.parse(vrf='VRF1')
     self.assertEqual(parsed_output, self.golden_parsed_output_2)
示例#2
0
 def test_empty_1(self):
     self.device = Mock(**self.empty_output)
     obj = ShowIpv6RouteUpdated(device=self.device)
     with self.assertRaises(SchemaEmptyParserError):
         parsed_output = obj.parse()