Mercurial > p > roundup > code
diff test/test_db.py @ 1090:9b910e8d987d
removed Log
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 10 Sep 2002 00:19:55 +0000 |
| parents | 8c2036dace08 |
| children | fa7df238e2d4 |
line wrap: on
line diff
--- a/test/test_db.py Tue Sep 10 00:15:59 2002 +0000 +++ b/test/test_db.py Tue Sep 10 00:19:55 2002 +0000 @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: test_db.py,v 1.42 2002-08-23 05:33:32 richard Exp $ +# $Id: test_db.py,v 1.43 2002-09-10 00:19:54 richard Exp $ import unittest, os, shutil, time @@ -676,215 +676,4 @@ return unittest.TestSuite(l) -# -# $Log: not supported by cvs2svn $ -# Revision 1.40 2002/08/23 04:48:36 richard -# oops, forgot -# -# Revision 1.39 2002/07/31 23:57:37 richard -# . web forms may now unset Link values (like assignedto) -# -# Revision 1.38 2002/07/26 08:27:00 richard -# Very close now. The cgi and mailgw now use the new security API. The two -# templates have been migrated to that setup. Lots of unit tests. Still some -# issue in the web form for editing Roles assigned to users. -# -# Revision 1.37 2002/07/25 07:14:06 richard -# Bugger it. Here's the current shape of the new security implementation. -# Still to do: -# . call the security funcs from cgi and mailgw -# . change shipped templates to include correct initialisation and remove -# the old config vars -# ... that seems like a lot. The bulk of the work has been done though. Honest :) -# -# Revision 1.36 2002/07/19 03:36:34 richard -# Implemented the destroy() method needed by the session database (and possibly -# others). At the same time, I removed the leading underscores from the hyperdb -# methods that Really Didn't Need Them. -# The journal also raises IndexError now for all situations where there is a -# request for the journal of a node that doesn't have one. It used to return -# [] in _some_ situations, but not all. This _may_ break code, but the tests -# pass... -# -# Revision 1.35 2002/07/18 23:07:08 richard -# Unit tests and a few fixes. -# -# Revision 1.34 2002/07/18 11:52:00 richard -# oops -# -# Revision 1.33 2002/07/18 11:50:58 richard -# added tests for number type too -# -# Revision 1.32 2002/07/18 11:41:10 richard -# added tests for boolean type, and fixes to anydbm backend -# -# Revision 1.31 2002/07/14 23:17:45 richard -# minor change to make testing easier -# -# Revision 1.30 2002/07/14 06:06:34 richard -# Did some old TODOs -# -# Revision 1.29 2002/07/14 04:03:15 richard -# Implemented a switch to disable journalling for a Class. CGI session -# database now uses it. -# -# Revision 1.28 2002/07/14 02:16:29 richard -# Fixes for the metakit backend (removed the cut-n-paste IssueClass, removed -# a special case for it in testing) -# -# Revision 1.27 2002/07/14 02:05:54 richard -# . all storage-specific code (ie. backend) is now implemented by the backends -# -# Revision 1.26 2002/07/11 01:11:03 richard -# Added metakit backend to the db tests and fixed the more easily fixable test -# failures. -# -# Revision 1.25 2002/07/09 04:19:09 richard -# Added reindex command to roundup-admin. -# Fixed reindex on first access. -# Also fixed reindexing of entries that change. -# -# Revision 1.24 2002/07/09 03:02:53 richard -# More indexer work: -# - all String properties may now be indexed too. Currently there's a bit of -# "issue" specific code in the actual searching which needs to be -# addressed. In a nutshell: -# + pass 'indexme="yes"' as a String() property initialisation arg, eg: -# file = FileClass(db, "file", name=String(), type=String(), -# comment=String(indexme="yes")) -# + the comment will then be indexed and be searchable, with the results -# related back to the issue that the file is linked to -# - as a result of this work, the FileClass has a default MIME type that may -# be overridden in a subclass, or by the use of a "type" property as is -# done in the default templates. -# - the regeneration of the indexes (if necessary) is done once the schema is -# set up in the dbinit. -# -# Revision 1.23 2002/06/20 23:51:48 richard -# Cleaned up the hyperdb tests -# -# Revision 1.22 2002/05/21 05:52:11 richard -# Well whadya know, bsddb3 works again. -# The backend is implemented _exactly_ the same as bsddb - so there's no -# using its transaction or locking support. It'd be nice to use those some -# day I suppose. -# -# Revision 1.21 2002/04/15 23:25:15 richard -# . node ids are now generated from a lockable store - no more race conditions -# -# We're using the portalocker code by Jonathan Feinberg that was contributed -# to the ASPN Python cookbook. This gives us locking across Unix and Windows. -# -# Revision 1.20 2002/04/03 05:54:31 richard -# Fixed serialisation problem by moving the serialisation step out of the -# hyperdb.Class (get, set) into the hyperdb.Database. -# -# Also fixed htmltemplate after the showid changes I made yesterday. -# -# Unit tests for all of the above written. -# -# Revision 1.19 2002/02/25 14:34:31 grubert -# . use blobfiles in back_anydbm which is used in back_bsddb. -# change test_db as dirlist does not work for subdirectories. -# ATTENTION: blobfiles now creates subdirectories for files. -# -# Revision 1.18 2002/01/22 07:21:13 richard -# . fixed back_bsddb so it passed the journal tests -# -# ... it didn't seem happy using the back_anydbm _open method, which is odd. -# Yet another occurrance of whichdb not being able to recognise older bsddb -# databases. Yadda yadda. Made the HYPERDBDEBUG stuff more sane in the -# process. -# -# Revision 1.17 2002/01/22 05:06:09 rochecompaan -# We need to keep the last 'set' entry in the journal to preserve -# information on 'activity' for nodes. -# -# Revision 1.16 2002/01/21 16:33:20 rochecompaan -# You can now use the roundup-admin tool to pack the database -# -# Revision 1.15 2002/01/19 13:16:04 rochecompaan -# Journal entries for link and multilink properties can now be switched on -# or off. -# -# Revision 1.14 2002/01/16 07:02:57 richard -# . lots of date/interval related changes: -# - more relaxed date format for input -# -# Revision 1.13 2002/01/14 02:20:15 richard -# . changed all config accesses so they access either the instance or the -# config attriubute on the db. This means that all config is obtained from -# instance_config instead of the mish-mash of classes. This will make -# switching to a ConfigParser setup easier too, I hope. -# -# At a minimum, this makes migration a _little_ easier (a lot easier in the -# 0.5.0 switch, I hope!) -# -# Revision 1.12 2001/12/17 03:52:48 richard -# Implemented file store rollback. As a bonus, the hyperdb is now capable of -# storing more than one file per node - if a property name is supplied, -# the file is called designator.property. -# I decided not to migrate the existing files stored over to the new naming -# scheme - the FileClass just doesn't specify the property name. -# -# Revision 1.11 2001/12/10 23:17:20 richard -# Added transaction tests to test_db -# -# Revision 1.10 2001/12/03 21:33:39 richard -# Fixes so the tests use commit and not close -# -# Revision 1.9 2001/12/02 05:06:16 richard -# . We now use weakrefs in the Classes to keep the database reference, so -# the close() method on the database is no longer needed. -# I bumped the minimum python requirement up to 2.1 accordingly. -# . #487480 ] roundup-server -# . #487476 ] INSTALL.txt -# -# I also cleaned up the change message / post-edit stuff in the cgi client. -# There's now a clearly marked "TODO: append the change note" where I believe -# the change note should be added there. The "changes" list will obviously -# have to be modified to be a dict of the changes, or somesuch. -# -# More testing needed. -# -# Revision 1.8 2001/10/09 07:25:59 richard -# Added the Password property type. See "pydoc roundup.password" for -# implementation details. Have updated some of the documentation too. -# -# Revision 1.7 2001/08/29 06:23:59 richard -# Disabled the bsddb3 module entirely in the unit testing. See CHANGES for -# details. -# -# Revision 1.6 2001/08/07 00:24:43 richard -# stupid typo -# -# Revision 1.5 2001/08/07 00:15:51 richard -# Added the copyright/license notice to (nearly) all files at request of -# Bizar Software. -# -# Revision 1.4 2001/07/30 03:45:56 richard -# Added more DB to test_db. Can skip tests where imports fail. -# -# Revision 1.3 2001/07/29 07:01:39 richard -# Added vim command to all source so that we don't get no steenkin' tabs :) -# -# Revision 1.2 2001/07/29 04:09:20 richard -# Added the fabricated property "id" to all hyperdb classes. -# -# Revision 1.1 2001/07/27 06:55:07 richard -# moving tests -> test -# -# Revision 1.7 2001/07/27 06:26:43 richard -# oops - wasn't deleting the test dir after the read-only tests -# -# Revision 1.6 2001/07/27 06:23:59 richard -# consistency -# -# Revision 1.5 2001/07/27 06:23:09 richard -# Added some new hyperdb tests to make sure we raise the right exceptions. -# -# Revision 1.4 2001/07/25 04:34:31 richard -# Added id and log to tests files... -# -# # vim: set filetype=python ts=4 sw=4 et si
