def METHOD_NAME(self):
    job = Job.objects.create(name='批量安装项目')
    job_serialization = UnifiedJobSerializer(job).to_representation(job)
    context = job.context(job_serialization)
    assert '批量安装项目' in context['job_metadata']