Ejemplo n.º 1
0
 def _get_input_file(self, kwargs):
     """Returns the input file to be decompiled."""
     try:
         return File(kwargs['input_file'])
     except KeyError:
         raise MissingParameterError('input_file')
Ejemplo n.º 2
0
    def test_has_correct_description(self):
        ex = MissingParameterError('PARAM_NAME')

        self.assertIn('PARAM_NAME', str(ex))