def test_dequeue_instance_method(self):

        job = self.q.dequeue()

        self.assertEquals(job.func.__name__, 'calculate')
        self.assertEquals(job.args, (3, 4))
Dequeueing instance method jobs from queues.
dataset/ETHPy150Open bretth/django-pq/test_pq/test_queue.py/TestDequeueInstanceMethods.test_dequeue_instance_method