cubicweb/server/test/unittest_rqlannotation.py
changeset 11269 73ac69970047
parent 11057 0b59724cb3f2
child 11767 432f87a63057
equal deleted inserted replaced
11268:f6938ae0dea8 11269:73ac69970047
    22 from cubicweb.devtools.repotest import BaseQuerierTC
    22 from cubicweb.devtools.repotest import BaseQuerierTC
    23 
    23 
    24 class SQLGenAnnotatorTC(BaseQuerierTC):
    24 class SQLGenAnnotatorTC(BaseQuerierTC):
    25 
    25 
    26     def setUp(self):
    26     def setUp(self):
    27         handler = get_test_db_handler(TestServerConfiguration(
    27         handler = get_test_db_handler(TestServerConfiguration('data', __file__))
    28             'data2', apphome=SQLGenAnnotatorTC.datadir))
       
    29         handler.build_db_cache()
    28         handler.build_db_cache()
    30         repo, _cnx = handler.get_repo_and_cnx()
    29         repo, _cnx = handler.get_repo_and_cnx()
    31         self.__class__.repo = repo
    30         self.__class__.repo = repo
    32         super(SQLGenAnnotatorTC, self).setUp()
    31         super(SQLGenAnnotatorTC, self).setUp()
    33 
    32