def METHOD_NAME(self, cli):
    """
    Test clearing specific queues via ``jobs clear``.
    """
    job1 = self.enqueue()
    job2 = self.enqueue(queue=u"q1")
    self.enqueue(queue=u"q2")
    self.enqueue(queue=u"q2")
    self.enqueue(queue=u"q3")
    stdout = cli.invoke(ckan, [u"jobs", u"clear", u"q2", u"q3"]).output
    assert u"q2" in stdout
    assert u"q3" in stdout
    assert jobs.DEFAULT_QUEUE_NAME not in stdout
    assert u"q1" not in stdout
    all_jobs = self.all_jobs()
    assert set(all_jobs) == {job1, job2}