devtools/test/unittest_dbfill.py
branchstable
changeset 6585 9af22f2c0c4c
parent 6340 470d8e828fda
child 7791 31bb51ea5485
--- a/devtools/test/unittest_dbfill.py	Thu Oct 21 09:34:21 2010 +0200
+++ b/devtools/test/unittest_dbfill.py	Fri Oct 22 13:10:27 2010 +0200
@@ -16,9 +16,7 @@
 #
 # You should have received a copy of the GNU Lesser General Public License along
 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
-"""unit tests for database value generator
-
-"""
+"""unit tests for database value generator"""
 
 import os.path as osp
 import re
@@ -56,7 +54,7 @@
         return [f.strip() for f in file(osp.join(DATADIR, 'firstnames.txt'))]
 
     def setUp(self):
-        config = ApptestConfiguration('data')
+        config = ApptestConfiguration('data', apphome=DATADIR)
         config.bootstrap_cubes()
         schema = config.load_schema()
         e_schema = schema.eschema('Person')