def at_install(flag):
 def decorator(obj):
  obj.at_install = flag
  return obj
 return decorator

def at_install ( flag ) : def decorator ( obj ) : obj . at_install = flag return obj return decorator
sets the at-install state of a test .