def METHOD_NAME(self):
    """
    Test that chunk specifications are handled correctly. That is,
    job specs should override queue defaults which override server
    defaults.
    """
    # Remove any current defaults
    rlist = ['default_chunk.%s' % r for r in self.resources]
    a = ','.join(rlist)
    self.server.manager(MGR_CMD_UNSET, QUEUE, a, id=self.our_queue)
    self.server.manager(MGR_CMD_UNSET, SERVER, a)
    # Job with no resources
    base_sel = ['1:ncpus=1']
    job_res = {}
    que_res = {}
    svr_res = {}
    self.try_a_job(base_sel, job_res, que_res, svr_res)
    # Job specifying resources
    job_res = {'resource10': 1, 'resource11': 2}
    self.try_a_job(base_sel, job_res, que_res, svr_res)
    # Add a server chunk default
    self.server.manager(MGR_CMD_SET, SERVER,
                        {'default_chunk.resource12': 3})
    svr_res = {'resource12': 3}
    self.try_a_job(base_sel, job_res, que_res, svr_res)
    # Add a queue chunk default
    self.server.manager(MGR_CMD_SET, QUEUE,
                        {'default_chunk.resource13': 4},
                        id=self.our_queue)
    que_res = {'resource13': 4}
    self.try_a_job(base_sel, job_res, que_res, svr_res)
    # Check that job can override a default
    job_res = {'resource12': 10}
    self.try_a_job(base_sel, job_res, que_res, svr_res)