server/test/unittest_rqlannotation.py
changeset 4766 162b2b127b15
parent 4191 01638461d4b0
child 5173 73760bbb66bd
child 5421 8167de96c523
equal deleted inserted replaced
4764:ec9c20c6b9f7 4766:162b2b127b15
     5 
     5 
     6 from cubicweb.devtools import init_test_database
     6 from cubicweb.devtools import init_test_database
     7 from cubicweb.devtools.repotest import BaseQuerierTC
     7 from cubicweb.devtools.repotest import BaseQuerierTC
     8 
     8 
     9 repo, cnx = init_test_database()
     9 repo, cnx = init_test_database()
       
    10 
       
    11 def teardown_module(*args):
       
    12     global repo, cnx
       
    13     del repo, cnx
       
    14 
    10 
    15 
    11 class SQLGenAnnotatorTC(BaseQuerierTC):
    16 class SQLGenAnnotatorTC(BaseQuerierTC):
    12     repo = repo
    17     repo = repo
    13 
    18 
    14     def get_max_eid(self):
    19     def get_max_eid(self):