def _adjust_kwargs(cls, **kwargs):
# Factory Boy special method used to alter custom settings dictionaries.
# Make a copy of settings and override transport to use base transport.
kwargs['data'] = dict(
kwargs['data'],
transport={
'path': 'pysoa.common.transport.base:ServerTransport',
},
)
return kwargs
评论列表
文章目录