equal
deleted
inserted
replaced
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() |