Skip to content

Commit 58f32d9

Browse files
author
Alexander Smishlajev
committed
tearDown: take directory name from config
1 parent c415ce6 commit 58f32d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_schema.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
# $Id: test_schema.py,v 1.14 2004-09-30 10:34:26 a1s Exp $
18+
# $Id: test_schema.py,v 1.15 2004-10-16 12:43:11 a1s Exp $
1919

2020
import unittest, os, shutil
2121

@@ -39,7 +39,7 @@ def setUp(self):
3939

4040
def tearDown(self):
4141
self.db.close()
42-
shutil.rmtree('_test_dir')
42+
shutil.rmtree(config.DATABASE)
4343

4444
def testA_Status(self):
4545
status = back_anydbm.Class(self.db, "status", name=String())

0 commit comments

Comments
 (0)