def METHOD_NAME(self, task, item):
    assert set(item.keys()) == {
        "_id",
        "timestamp",
        "status",
        "config",
        "schedule_name",
        "worker",
        "updated_at",
    }
    assert item["_id"] == str(task["_id"])
    assert item["status"] == task["status"]