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