page='Main', default='', help=""" Your buildout will have a single user, "%(zope_user)s", with manager privileges, defined at the root. This option lets you select the initial password for this user. If left blank, the password will be randomly generated. """) VAR_HTTP = BoundedIntVar( 'http_port', title='HTTP Port', description='Port that Zope will use for serving HTTP', default='8080', modes=(EXPERT, EASY), page='Main', help=""" This options lets you select the port # that Zope will use for serving HTTP. """, min=1024, max=65535, ) VAR_DEBUG_MODE = OnOffVar('debug_mode', title='Debug Mode', description='Should debug mode be "on" or "off"?', default='off', modes=(EXPERT, EASY), page='Main', help=""" Debug mode (sometimes called "Debug/Development Mode") is the correct
def setUp(self): self.bivar = BoundedIntVar('name', 'description', min=3, max=10) self.defaultminvar = BoundedIntVar('name', 'description', max=10) self.defaultmaxvar = BoundedIntVar('name', 'description', min=3) self.max = sys.maxint self.min = -self.max - 1