示例#1
0
 def __init__(self):
     Borg.__init__(self)
     if not hasattr(self, 'tmp_dir'):
         self.tmp_dir = tempfile.mkdtemp(prefix='avocado_',
                                         dir=BASE_TMP_DIR)
示例#2
0
 def __init__(self):
     Borg.__init__(self)
     self.address = 'localhost'
     self.start_port = 5000
     if not hasattr(self, 'retained_ports'):
         self._reset_retained_ports()
示例#3
0
 def __init__(self):
     Borg.__init__(self)
     self.basedir = None
示例#4
0
 def __init__(self):
     Borg.__init__(self)
     if not hasattr(self, 'tmp_dir'):
         self.tmp_dir = tempfile.mkdtemp(prefix='avocado_', dir=BASE_TMP_DIR)
示例#5
0
 def __init__(self):
     Borg.__init__(self)
     self.address = 'localhost'
     self.start_port = 5000
     if not hasattr(self, 'retained_ports'):
         self._reset_retained_ports()
示例#6
0
文件: ports.py 项目: mxie91/avocado
 def __init__(self):
     Borg.__init__(self)
     self.address = "localhost"
     self.start_port = 5000
     if not hasattr(self, "retained_ports"):
         self._reset_retained_ports()