def METHOD_NAME(self):
    """To check if the job was correctly failed etc., we should use
    a Worker and not the queue provided with FakeRedisTestCaseMixin."""
    # Create an asynchronous queue.
    # The name `separate_queue` used here is to ensure the queue isn't used
    # anywhere else.
    queue = Queue("separate_queue", connection=self.connection)
    worker = SimpleWorker([queue], connection=queue.connection)
    # !!! This is a hack required for this test to pass. Subscribing runs a thread
    # that somehow disrupts how the data access to the queues works. There's no
    # configuration available to disable the subscription, so a monkey-patching
    # approach was used.
    worker.subscribe = lambda: None
    # log admin user
    self._logSuperuserIn()
    # this job will fail
    job = queue.enqueue(dummy_fail_job)
    self.assertEqual(job.get_status(), "queued")
    # log the job in our system as RQJob
    rqjob = RQJob.objects.create(job_id=job.id, trigger=self.trigger)
    # run the worker
    worker.work(burst=True)
    self.assertEqual(job.get_status(), "failed")
    url = reverse("admin:autoemails_rqjob_retry", args=[rqjob.pk])
    rv = self.client.post(url, follow=True)
    self.assertIn(
        f"The job {job.id} was requeued. It will be run shortly.",
        rv.content.decode("utf-8"),
    )
    self.assertEqual(job.get_status(refresh=True), "queued")