def test_2(self):
     self.device = Mock(**self.device_output)
     obj = ShowRplPrefixSet(device=self.device)
     parsed_output = obj.parse()
     self.assertEqual(parsed_output, self.parsed_output)
 def test_golden_default(self):
     self.device = Mock(**self.golden_output)
     obj = ShowRplPrefixSet(device=self.device)
     parsed_output = obj.parse()
     self.assertEqual(parsed_output, self.golden_parsed_output)
 def test_golden_name(self):
     self.device = Mock(**self.golden_output_2)
     obj = ShowRplPrefixSet(device=self.device)
     parsed_output = obj.parse(name='test')
     self.assertEqual(parsed_output, self.golden_parsed_output_2)
 def test_empty(self):
     self.device = Mock(**self.empty_output)
     obj = ShowRplPrefixSet(device=self.device)
     with self.assertRaises(SchemaEmptyParserError):
         parsed_output = obj.parse()