Beispiel #1
0
 def test_show_xconnect_all_golden2(self):
     self.maxDiff = None
     self.device = Mock(**self.golden_output2)
     obj = ShowXconnectAll(device=self.device)
     parsed_output = obj.parse()
     self.assertEqual(parsed_output, self.golden_parsed_output2)
Beispiel #2
0
 def test_show_xconnect_all_empty(self):
     self.device = Mock(**self.empty_output)
     obj = ShowXconnectAll(device=self.device)
     with self.assertRaises(SchemaEmptyParserError):
         parsed_output = obj.parse()