debian/cubicweb-documentation.install.in
author Aurelien Campeas <aurelien.campeas@logilab.fr>
Tue, 07 Dec 2010 12:18:20 +0100
brancholdstable
changeset 7078 bad26a22fe29
parent 6528 6c6859a67673
child 9208 7ae95f48e2f0
permissions -rw-r--r--
[test] New Handling of database for test. This patch adds a new TestDataBaseHandler class. TestDataBaseHandler are in charge of Setup, backup, restore, connection, repository caching and cleanup for database used during the test. TestDataBaseHandler reuse code and logic previously found in cubicweb.devtools functions and devtools.testlib.CubicwebTC. TestDataBaseHandler is an abstract class and must be subclassed to implement functionalities specific to each driver. TestDataBaseHandler can store and restore various database setups. devtools.testlib.CubicwebTC gains a test_db_id class attribute to specify that its TestCase uses a specific database that should be cached. The pre_setup_database class method is used to setup the database that will be cached. The setup_database method is kept uncached. The same TestDataBaseHandler are reused for every test using the same config object. TestDataBaseHandler try to reuse Repository objects as much as possible. All cubicweb test have been updated.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6520
07a0f93f499a Backed out changeset 1f8b902f3143: this block compilation under distrib with old sphinx package
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 6512
diff changeset
     1
doc/book usr/share/doc/cubicweb-documentation
6528
6c6859a67673 [doc] generate doc in cw/doc/html and include html files in cubicweb-documentation
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 6520
diff changeset
     2
doc/html usr/share/doc/cubicweb-documentation
858
e6ae125d5903 reorganize debian packages (Closes: #1168)
Julien Jehannet <julien.jehannet@logilab.fr>
parents: 854
diff changeset
     3
debian/cubicweb-doc usr/share/doc-base/cubicweb-doc