예제 #1
0
 def side_effect(*args, **_kwargs):
     ctx = args[0]
     ctx.out_header = models.ID(mustUnderstand='1')
     ctx.out_header.Data = 'null'
     ctx.descriptor.out_message.Attributes.sub_name = \
         request.__class__.__name__
     return AutoConfigServer._generate_acs_to_cpe_request_copy(request)
예제 #2
0
 def side_effect(*args, **_kwargs):
     ctx = args[0]
     ctx.out_header = models.ID(mustUnderstand='1')
     ctx.out_header.Data = 'null'
     ctx.descriptor.out_message.Attributes.sub_name = request.__class__.__name__
     return request