def test_schedule_future_call(self):
        job = self.q.schedule_call(datetime(2999,12,1, tzinfo=utc), do_nothing)
        self.w.work(burst=True)
        # check it is still in the queue
        self.assertIsNotNone(Job.objects.get(queue_id='default', pk=job.id))
Schedule to fire in the distant future
dataset/ETHPy150Open bretth/django-pq/test_pq/test_queue.py/TestScheduleJobs.test_schedule_future_call