Mercurial > p > roundup > code
changeset 2763:94bb67cc38a5
tearDown: take directory name from config
| author | Alexander Smishlajev <a1s@users.sourceforge.net> |
|---|---|
| date | Sat, 16 Oct 2004 12:43:11 +0000 |
| parents | 10a49678ebf2 |
| children | d3b3f1b3d59e |
| files | test/test_schema.py |
| diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/test/test_schema.py Fri Oct 15 00:48:05 2004 +0000 +++ b/test/test_schema.py Sat Oct 16 12:43:11 2004 +0000 @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: test_schema.py,v 1.14 2004-09-30 10:34:26 a1s Exp $ +# $Id: test_schema.py,v 1.15 2004-10-16 12:43:11 a1s Exp $ import unittest, os, shutil @@ -39,7 +39,7 @@ def tearDown(self): self.db.close() - shutil.rmtree('_test_dir') + shutil.rmtree(config.DATABASE) def testA_Status(self): status = back_anydbm.Class(self.db, "status", name=String())
