Ejemplo n.º 1
0
 def setUp(self):
     """Setting up test."""
     self.logd("setUp")
     NuxeoTestCase.setUp(self)
     self.memberList =  xmlrpc_list_credentials(self.credential_host,
                                               self.credential_port,
                                               'members')
 def setUp(self):
     NuxeoTestCase.setUp(self)
     self.nb_write = self.conf_getInt('testDrive', 'nb_doc')
     import_path = self.conf_get('testDrive', 'import_path')
     self.files = [
         os.path.join(import_path, item) for item in os.listdir(import_path)
     ]
Ejemplo n.º 3
0
 def setUp(self):
     NuxeoTestCase.setUp(self)
     self.nb_write = self.conf_getInt("testWriter", "nb_doc")
     import_path = self.conf_get("testWriter", "import_path")
     self.files = [os.path.join(import_path, item) for item in os.listdir(import_path)]
     self.nb_read = self.conf_getInt("testReader", "nb_doc")
     self.search = self.conf_getInt("testReader", "search", 1)
Ejemplo n.º 4
0
 def setUp(self):
     NuxeoTestCase.setUp(self)
     self.nb_write = self.conf_getInt('testWriter', 'nb_doc')
     import_path = self.conf_get('testWriter', 'import_path')
     self.files = [os.path.join(import_path, item)
                   for item in os.listdir(import_path)]
     self.nb_read = self.conf_getInt('testReader', 'nb_doc')
     self.search = self.conf_getInt('testReader', 'search', 1)
Ejemplo n.º 5
0
 def setUp(self):
     NuxeoTestCase.setUp(self)
     self.nb_write = self.conf_getInt('testWriter', 'nb_doc')
     import_path = self.conf_get('testWriter', 'import_path')
     self.files = [
         os.path.join(import_path, item) for item in os.listdir(import_path)
     ]
     self.nb_read = self.conf_getInt('testReader', 'nb_doc')
     self.search = self.conf_getInt('testReader', 'search', 1)
Ejemplo n.º 6
0
 def setUp(self):
     """Setting up test."""
     self.logd("setUp")
     NuxeoTestCase.setUp(self)
     self.memberList = xmlrpc_list_credentials(self.credential_host,
                                               self.credential_port,
                                               'members')
     self.routeManagerList = xmlrpc_list_credentials(
         self.credential_host, self.credential_port, 'routeManagers')
     f = open('./xml_importer/pdf-list.txt', 'r')
     self.pdf_files = f.readlines()
     self.routeName = "FunkloadRouteDoc"
     self.routeModelId = self.extractRouteModelId("jdoe", "jdoe1",
                                                  self.routeName)
 def setUp(self):
     NuxeoTestCase.setUp(self)
 def setUp(self):
     NuxeoTestCase.setUp(self)
Ejemplo n.º 9
0
 def setUp(self):
     NuxeoTestCase.setUp(self)
     self.nb_write = self.conf_getInt('testDrive', 'nb_doc')
     import_path = self.conf_get('testDrive', 'import_path')
     self.files = [os.path.join(import_path, item)
                   for item in os.listdir(import_path)]
Ejemplo n.º 10
0
 def setUp(self):
     NuxeoTestCase.setUp(self)
     self.folder_file = self.conf_get('main', 'folder_file')
     self.doc_file = self.conf_get('main', 'doc_file')
     self.nb_docs = self.conf_getInt('testNavigation', 'nb_docs')
     self.nb_folders = self.conf_getInt('testNavigation', 'nb_folders')
 def setUp(self):
     NuxeoTestCase.setUp(self)
     self.folder_file = self.conf_get('main', 'folder_file')
     self.doc_file = self.conf_get('main', 'doc_file')
     self.nb_docs = self.conf_getInt('testNavigation', 'nb_docs')
     self.nb_folders = self.conf_getInt('testNavigation', 'nb_folders')