--- a/cubicweb/server/test/unittest_rqlannotation.py Thu Sep 11 14:22:02 2014 +0200
+++ b/cubicweb/server/test/unittest_rqlannotation.py Fri May 20 12:01:42 2016 +0200
@@ -24,8 +24,7 @@
class SQLGenAnnotatorTC(BaseQuerierTC):
def setUp(self):
- handler = get_test_db_handler(TestServerConfiguration(
- 'data2', apphome=SQLGenAnnotatorTC.datadir))
+ handler = get_test_db_handler(TestServerConfiguration('data', __file__))
handler.build_db_cache()
repo, _cnx = handler.get_repo_and_cnx()
self.__class__.repo = repo