예제 #1
0
 def test_golden_customer(self):
     self.maxDiff = None
     self.device = Mock(**self.golden_output_customer)
     obj = ShowIpArpstatisticsVrfAll(device=self.device)
     parsed_output = obj.parse()
     self.assertEqual(parsed_output, self.golden_parsed_output_customer)
예제 #2
0
 def test_empty(self):
     self.device = Mock(**self.empty_output)
     obj = ShowIpArpstatisticsVrfAll(device=self.device)
     with self.assertRaises(SchemaEmptyParserError):
         parsed_output = obj.parse()