def METHOD_NAME(self):
    """
    Test that a local peering queue enforces new limits
    """
    self.create_resource()
    self.create_queue()
    a = {'resources_max.' + self.cres: 4}
    self.server.manager(MGR_CMD_SET, QUEUE, a, id=self.cqueue)
    a = {'started': False}
    self.server.manager(MGR_CMD_SET, QUEUE, a, id='workq')
    self.server.manager(MGR_CMD_SET, SERVER, {'scheduling': False})
    a = {'peer_queue': '"' + self.cqueue + ' workq"'}
    self.scheduler.set_sched_config(a)
    j = Job(TEST_USER, attrs={'Resource_List.' + self.cres: 100})
    jid = self.server.submit(j)
    j = Job(TEST_USER, attrs={'Resource_List.' + self.cres: 1})
    jid2 = self.server.submit(j)
    self.server.expect(JOB, {'job_state': 'Q'}, id=jid)
    self.server.expect(JOB, {'job_state': 'Q'}, id=jid2)
    self.server.manager(MGR_CMD_SET, SERVER, {'scheduling': True})
    self.server.expect(JOB, {'job_state': 'Q'}, id=jid)
    msg = (jid + ';Failed to run: Job violates queue and/or server'
           ' resource limits (15036)')
    self.scheduler.log_match(msg)
    self.server.expect(JOB, {'job_state': 'R'}, id=jid2)