def setUp(self):
        self.q = Queue(scheduled=True)
        # simulate the default worker timeout
        self.timeout = 60
        future = now() + timedelta(seconds=self.timeout/2)
        # enqueue a job for 30 seconds time in the future
        self.job = self.q.schedule_call(future, do_nothing)
dataset/ETHPy150Open bretth/django-pq/test_pq/test_job.py/Test_get_job_or_promise.setUp/original