--- a/devtools/test/unittest_testlib.py Fri Oct 09 09:40:08 2015 +0200
+++ b/devtools/test/unittest_testlib.py Thu Jul 30 11:11:12 2015 +0200
@@ -74,6 +74,16 @@
clean_repo_test_cls(MyWebTest)
+class RepoInstancesConsistencyTC(CubicWebTC):
+ test_db_id = 'RepoInstancesConsistencyTC'
+
+ def pre_setup_database(self, cnx, config):
+ self.assertIs(cnx.repo, config.repository())
+
+ def test_pre_setup(self):
+ pass
+
+
HTML_PAGE = u"""<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head><title>need a title</title></head>