def __init__(self, *args, **kw): DefaultTestFixture.__init__(self, *args, **kw) EventConsumerMixin.__init__(self, self.change_of_value) self.__event_lock = Lock() self.__event_updated_values = {} self._cov_counter = 0 return
def __init__(self, other): DefaultTestFixture.__init__(self, other) self.eth0 = None self.ip = None self.server = None self.client = None return
def __init__(self, *args, **kw): DefaultTestFixture.__init__(self, *args,**kw) EventConsumerMixin.__init__(self, self.change_of_value) self.__event_lock = Lock() self.__event_updated_values = {} self._cov_counter = 0 return
def __init__(self, *args, **kw): DefaultTestFixture.__init__(self, *args, **kw) self.assertions_enabled = 0 try: assert False except AssertionError: self.assertions_enabled = 1 return
def __init__(self, x): DefaultTestFixture.__init__(self, x) self.name = self.__class__.__name__ self.start_dir = os.getcwd() # Create dir for preserving data and results between tests: if exists(PRESERVE_DIR): shutil.rmtree(PRESERVE_DIR, True) os.makedirs(PRESERVE_DIR, 0777) print 'prop.SRNA_TOOLS: %s' % prop.SRNA_TOOLS print 'UPDATE_SRNA_NETWORK_PATH: %s' % UPDATE_SRNA_NETWORK_PATH print 'UPDATE_SRNA_LOCAL_PATH: %s' % UPDATE_SRNA_LOCAL_PATH print 'SRNA_OPENSSL_CNF_PATH: %s' % SRNA_OPENSSL_CNF_PATH print 'SRNA_UPDATE_TGZ_SRC_PATH: %s' % SRNA_UPDATE_TGZ_SRC_PATH print 'IP_ADDRS_PATH: %s' % IP_ADDRS_PATH print 'ADDR_LIST_PATH: %s' % ADDR_LIST_PATH return
def __init__(self,*args,**kw): args = (self,) + args DefaultTestFixture.__init__(*args, **kw) self.test = ( ('${mpx.properties.HTTP_ROOT}',1,'beginnig of line test'), (' ${mpx.properties.HTTP_ROOT}',1,'space before '), (' sadfsaasdf sdfsad \${mpx.properties.HTTP_ROOT}',0,'words then a slash'), (' \${mpx.properties.HTTP_ROOT}',0,'space then a slash'), ('some test ${mpx.properties.HTTP_ROOT} ',1,''), (' ${mpx.properties.HTTP_ROOT} ',1,''), ('\${mpx.properties.HTTP_ROOT} ${mpx.properties.HTTP_ROOT} ',1,''), ('${mpx.properties.HTTP_ROOT} \${mpx.properties.HTTP_ROOT} ',1,''), ('${mpx.properties.HTTP_ROOT } ',0,''), ('${mpx.properties.http_root} ',0,''), ('${mpx.properties.http_root } ',0,''), ('',0,''), ('${mpx.properties.HTTP_ROOT} ${mpx.properties.HTTP_ROOT} ',1,'') )
def __init__(self, *args, **kw): args = (self, ) + args DefaultTestFixture.__init__(*args, **kw) self.test = ( ('${mpx.properties.HTTP_ROOT}', 1, 'beginnig of line test'), (' ${mpx.properties.HTTP_ROOT}', 1, 'space before '), (' sadfsaasdf sdfsad \${mpx.properties.HTTP_ROOT}', 0, 'words then a slash'), (' \${mpx.properties.HTTP_ROOT}', 0, 'space then a slash'), ('some test ${mpx.properties.HTTP_ROOT} ', 1, ''), (' ${mpx.properties.HTTP_ROOT} ', 1, ''), ('\${mpx.properties.HTTP_ROOT} ${mpx.properties.HTTP_ROOT} ', 1, ''), ('${mpx.properties.HTTP_ROOT} \${mpx.properties.HTTP_ROOT} ', 1, ''), ('${mpx.properties.HTTP_ROOT } ', 0, ''), ('${mpx.properties.http_root} ', 0, ''), ('${mpx.properties.http_root } ', 0, ''), ('', 0, ''), ('${mpx.properties.HTTP_ROOT} ${mpx.properties.HTTP_ROOT} ', 1, ''))
def __init__(self, *args, **kw): DefaultTestFixture.__init__(self, *args, **kw) EventProducerMixin.__init__(self) CompositeNode.__init__(self) return
def __init__(self,method_name): DefaultTestFixture.__init__(self,method_name) return
def __init__(self,method_name): DefaultTestFixture.__init__(self,method_name) self.session_manager = None return
def __init__(self,method_name): DefaultTestFixture.__init__(self,method_name) self.path = properties.PDO_DIRECTORY
def __init__(self,method_name): DefaultTestFixture.__init__(self,method_name) self.is_root = not os.getuid()
def __init__(self, *args, **kw): DefaultTestFixture.__init__(self, *args ,**kw) return
def __init__(self, *args, **kw): DefaultTestFixture.__init__(self, *args,**kw) EventProducerMixin.__init__(self) CompositeNode.__init__(self) return
def __init__(self, *args): self._port = self.STARTING_PORT DefaultTestFixture.__init__(self, *args)
def __init__(self, method_name): DefaultTestFixture.__init__(self, method_name) self.path = properties.PDO_DIRECTORY
def __init__(self, methodName): self.name = "mpx.lib.persisent.%d" % os.getpid() DefaultTestFixture.__init__(self, methodName) return
def __init__(self, methodName): self.name = 'mpx.lib.persisent.%d' % os.getpid() DefaultTestFixture.__init__(self, methodName) return
def __init__(self, method_name): DefaultTestFixture.__init__(self, method_name) return
def __init__(self,*args): self._port = self.STARTING_PORT DefaultTestFixture.__init__(self,*args)
def __init__(self, method_name): DefaultTestFixture.__init__(self, method_name) self.is_root = not os.getuid()
def __init__(self, method_name): DefaultTestFixture.__init__(self, method_name) self.session_manager = None return