def METHOD_NAME(self, cli):
    """
    Test filtering by queues for ``jobs list``.
    """
    job1 = self.enqueue(queue=u"q1")
    job2 = self.enqueue(queue=u"q2")
    job3 = self.enqueue(queue=u"q3")
    stdout = cli.invoke(ckan, [u"jobs", u"list", u"q1", u"q2"]).output
    assert u"q1" in stdout
    assert u"q2" in stdout
    assert u"q3" not in stdout