def setUp(self):
    testutil.HandlerTestBase.setUp(self)

    TestKind().put()
    self.mapreduce_id = control.start_map(
        "my job 1",
        "__main__.TestMap",
        "mapreduce.input_readers.DatastoreInputReader",
        {"entity_kind": "__main__.TestKind"},
        4)

    self.handler = handlers.CleanUpJobHandler()
    self.handler.initialize(mock_webapp.MockRequest(),
                            mock_webapp.MockResponse())
    self.handler.request.path = "/mapreduce/command/clean_up_job"

    self.handler.request.headers["X-Requested-With"] = "XMLHttpRequest"
If Vary headers are specified, wrap the base allow handler in the
dataset/ETHPy150Open GoogleCloudPlatform/appengine-mapreduce/python/test/mapreduce/handlers_test.py/CleanUpJobTest.setUp--crossover with--dataset/ETHPy150Open skibblenybbles/django-daydreamer/daydreamer/views/behaviors/vary.py/VaryOnHeaders.get_allow_handler