cubicweb/server/test/unittest_rqlannotation.py
changeset 11767 432f87a63057
parent 11269 73ac69970047
child 11768 b8b71dd09a2c
equal deleted inserted replaced
11766:d8de1ac21f36 11767:432f87a63057
     1 # -*- coding: iso-8859-1 -*-
     1 # -*- coding: iso-8859-1 -*-
     2 # copyright 2003-2014 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
     2 # copyright 2003-2016 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
     3 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
     3 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
     4 #
     4 #
     5 # This file is part of CubicWeb.
     5 # This file is part of CubicWeb.
     6 #
     6 #
     7 # CubicWeb is free software: you can redistribute it and/or modify it under the
     7 # CubicWeb is free software: you can redistribute it and/or modify it under the
    19 """unit tests for modules cubicweb.server.rqlannotation"""
    19 """unit tests for modules cubicweb.server.rqlannotation"""
    20 
    20 
    21 from cubicweb.devtools import TestServerConfiguration, get_test_db_handler
    21 from cubicweb.devtools import TestServerConfiguration, get_test_db_handler
    22 from cubicweb.devtools.repotest import BaseQuerierTC
    22 from cubicweb.devtools.repotest import BaseQuerierTC
    23 
    23 
       
    24 
    24 class SQLGenAnnotatorTC(BaseQuerierTC):
    25 class SQLGenAnnotatorTC(BaseQuerierTC):
    25 
    26 
    26     def setUp(self):
    27     def setUp(self):
    27         handler = get_test_db_handler(TestServerConfiguration('data', __file__))
    28         handler = get_test_db_handler(TestServerConfiguration('data', __file__))
    28         handler.build_db_cache()
    29         handler.build_db_cache()