server/test/unittest_ldapsource.py
changeset 8903 192a748550c7
parent 8902 9edfa3660bf4
child 8904 030463e2b620
equal deleted inserted replaced
8902:9edfa3660bf4 8903:192a748550c7
   612         """return the application schema"""
   612         """return the application schema"""
   613         return self._schema
   613         return self._schema
   614 
   614 
   615     def setUp(self):
   615     def setUp(self):
   616         self.handler = get_test_db_handler(LDAPUserSourceTC.config)
   616         self.handler = get_test_db_handler(LDAPUserSourceTC.config)
   617         self.handler.build_db_cache('ldap-user', LDAPUserSourceTC.pre_setup_database)
   617         self.handler.build_db_cache('ldap-rqlgenerator', LDAPUserSourceTC.pre_setup_database)
   618         self.handler.restore_database('ldap-user')
   618         self.handler.restore_database('ldap-rqlgenerator')
   619         self._repo = repo = self.handler.get_repo()
   619         self._repo = repo = self.handler.get_repo()
   620         self._schema = repo.schema
   620         self._schema = repo.schema
   621         super(RQL2LDAPFilterTC, self).setUp()
   621         super(RQL2LDAPFilterTC, self).setUp()
   622         ldapsource = repo.sources[-1]
   622         ldapsource = repo.sources[-1]
   623         self.cnxset = repo._get_cnxset()
   623         self.cnxset = repo._get_cnxset()