Mercurial > p > roundup > code
diff test/db_test_base.py @ 3016:224c7c0b9708
First checkin of tsearch2 "backend". Miscellaneous notes:
* We override the testTransactions method, as it relies on FileStorage for its
transaction testing.
* importing/exporting doesn't work right yet.
* Filtering of text/plain mime-types is an ugly hack right now.
| author | Johannes Gijsbers <jlgijsbers@users.sourceforge.net> |
|---|---|
| date | Thu, 16 Dec 2004 22:22:55 +0000 |
| parents | 0aaf356fd105 |
| children | f8d0fd056ac0 |
line wrap: on
line diff
--- a/test/db_test_base.py Wed Dec 15 00:00:52 2004 +0000 +++ b/test/db_test_base.py Thu Dec 16 22:22:55 2004 +0000 @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: db_test_base.py,v 1.55 2004-11-26 00:01:04 richard Exp $ +# $Id: db_test_base.py,v 1.56 2004-12-16 22:22:55 jlgijsbers Exp $ import unittest, os, shutil, errno, imp, sys, time, pprint @@ -78,6 +78,8 @@ priority=Link('priority')) stuff = module.Class(db, "stuff", stuff=String()) session = module.Class(db, 'session', title=String()) + msg = module.FileClass(db, "msg", + author=Link("user", do_journal='no')) session.disableJournalling() db.post_init() if create:
