Mercurial > p > roundup > code
diff test/db_test_base.py @ 2082:c091cacdc505
Finished implementation of session and one-time-key stores for RDBMS backends.
Refactored the API of sessions and their interaction with the
backend database a fair bit too.
Added some session tests. Nothing testing ageing yet, 'cos that's a pain
inna ass to test :)
Note: metakit backend still uses the *dbm implementation. It might
want to implement its own session store some day, as it'll be faster than
the *dbm one.
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Thu, 18 Mar 2004 01:58:46 +0000 |
| parents | 3e0961d6d44d |
| children | 93f03c6714d8 |
line wrap: on
line diff
--- a/test/db_test_base.py Wed Mar 17 22:01:37 2004 +0000 +++ b/test/db_test_base.py Thu Mar 18 01:58:46 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.16 2004-03-15 05:50:20 richard Exp $ +# $Id: db_test_base.py,v 1.17 2004-03-18 01:58:46 richard Exp $ import unittest, os, shutil, errno, imp, sys, time, pprint @@ -55,8 +55,8 @@ def tearDown(self): if hasattr(self, 'db'): self.db.close() - if os.path.exists('_test_dir'): - shutil.rmtree('_test_dir') + if os.path.exists(config.DATABASE): + shutil.rmtree(config.DATABASE) class config: DATABASE='_test_dir'
