* fix: test cases can always write

This commit is contained in:
Eray Özkural
2006-05-06 16:55:41 +00:00
parent 7f3d694e9e
commit b24de9e4c8
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -9,8 +9,8 @@
#
# Please read the COPYING file.
#
# Authors: Eray Ozkural <eray@pardus.org.tr>
# Baris Metin <baris@pardus.org.tr>
# Authors: Eray Ozkural <eray at pardus.org.tr>
# Baris Metin <baris at pardus.org.tr>
"""Top level PISI interfaces. a facade to the entire PISI system"""
+2 -1
View File
@@ -23,7 +23,8 @@ class TestCase(unittest.TestCase):
options = pisi.config.Options()
options.ignore_build_no = False
options.destdir = 'tmp'
pisi.api.init(options = options, comar = comar, database = database)
pisi.api.init(options = options, comar = comar,
database = database, write = database)
def tearDown(self, ):
pisi.api.finalize()