def faster(tempdir):
with mock.patch.multiple('dallinger.command_line',
time=mock.DEFAULT,
setup_experiment=mock.DEFAULT) as mocks:
mocks['setup_experiment'].return_value = ('fake-uid', tempdir)
yield mocks
评论列表
文章目录