Beispiel #1
0
 def test_golden(self):
     self.maxDiff = None
     self.dev = Mock(**self.device_output)
     obj = ShowAccessListsSummary(device=self.dev)
     parsed_output = obj.parse()
     self.assertEqual(parsed_output,self.parsed_output)
Beispiel #2
0
 def test_empty(self):
     self.dev = Mock(**self.empty_output)
     obj = ShowAccessListsSummary(device=self.dev)
     with self.assertRaises(SchemaEmptyParserError):
         parsed_output = obj.parse()