def fake_function(*args, **kwargs):
 if (('callable' not in kwargs) and ('expect_call' not in kwargs)):
  kwargs['callable'] = True
 return Fake(*args, **kwargs).has_attr(__name__='fake')

def fake_function ( * args , ** kwargs ) : if ( ( 'callable' not in kwargs ) and ( 'expect_call' not in kwargs ) ) : kwargs [ 'callable' ] = True return Fake ( * args , ** kwargs ) . has_attr ( __name__ = 'fake' )
returns a fudge .