def METHOD_NAME(app):
    @app.task(name="my_name", queue="bla")
    def my_name(a):
        pass
    scheduled_at = conftest.aware_datetime(2000, 1, 1)
    job = app.configure_task(
        name="my_name", lock="sher", schedule_at=scheduled_at, task_kwargs={"a": 1}
    ).job
    assert job.task_name == "my_name"
    assert job.queue == "bla"
    assert job.lock == "sher"
    assert job.scheduled_at == scheduled_at
    assert job.task_kwargs == {"a": 1}