async def METHOD_NAME(self, ctx):
    detector = QueuedDetector(ctx, 1, [])
    expect(detector).not_to_be_null()
    data = await detector.detect()
    expect(data).to_be_empty()
    expect(ctx.request.detection_error).to_be_false()
    result = self.redis.get("resque:unique:queue:Detect:/image/test.jpg")
    expect(result).to_equal("1")
    expected_payload = {
        "queue": "Detect",
        "args": ["all", "/image/test.jpg", "/image/test.jpg"],
        "class": "remotecv.pyres_tasks.DetectTask",
        "key": "/image/test.jpg",
    }
    result = self.redis.lpop("resque:queue:Detect")
    expect(loads(result.decode("utf-8"))).to_be_like(expected_payload)