def testParameterValidationFailure(self):
    self.handler.request.set("mapper_params_validator",
                             __name__ + ".test_param_validator_raise_exception")
    try:
      self.handler.handle()
      self.fail()
    except Exception, e:
      self.assertEquals("These params are bad", str(e))
Default constructor
dataset/ETHPy150Open GoogleCloudPlatform/appengine-mapreduce/python/test/mapreduce/handlers_test.py/StartJobHandlerTest.testParameterValidationFailure--crossover with--dataset/ETHPy150Open tuturto/pyherc/src/herculeum/ui/gui/animations/perception.py/LoseFocusAnimation.__init__