* fix: test cases can always write
This commit is contained in:
+2
-2
@@ -9,8 +9,8 @@
|
|||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
#
|
#
|
||||||
# Authors: Eray Ozkural <eray@pardus.org.tr>
|
# Authors: Eray Ozkural <eray at pardus.org.tr>
|
||||||
# Baris Metin <baris@pardus.org.tr>
|
# Baris Metin <baris at pardus.org.tr>
|
||||||
|
|
||||||
"""Top level PISI interfaces. a facade to the entire PISI system"""
|
"""Top level PISI interfaces. a facade to the entire PISI system"""
|
||||||
|
|
||||||
|
|||||||
+2
-1
@@ -23,7 +23,8 @@ class TestCase(unittest.TestCase):
|
|||||||
options = pisi.config.Options()
|
options = pisi.config.Options()
|
||||||
options.ignore_build_no = False
|
options.ignore_build_no = False
|
||||||
options.destdir = 'tmp'
|
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, ):
|
def tearDown(self, ):
|
||||||
pisi.api.finalize()
|
pisi.api.finalize()
|
||||||
|
|||||||
Reference in New Issue
Block a user