def patch_get_utility(target='zope.component.getUtility'):
 return mock.patch(target, new_callable=_create_get_utility_mock)

def patch_get_utility ( target = 'zope.component.getUtility' ) : return mock . patch ( target , new_callable = _create_get_utility_mock )
patch zope .