def test_listen_for_jobs(self):
        queue_name = PQ._listen_for_jobs(['default'], 'default', 1)
        self.assertEqual('default', queue_name)
Test the first part of the _listen_for_jobs method which polls
dataset/ETHPy150Open bretth/django-pq/test_pq/test_queue.py/TestListenForJobs.test_listen_for_jobs