Add python3 support

This commit is contained in:
Safa Ariman
2019-06-06 01:31:19 +03:00
parent 68344a2d87
commit c90351220c
146 changed files with 806 additions and 1082 deletions
+2 -2
View File
@@ -10,7 +10,7 @@
# Please read the COPYING file.
#
import testcase
from . import testcase
import pisi
class InstallDBTestCase(testcase.TestCase):
@@ -69,7 +69,7 @@ class InstallDBTestCase(testcase.TestCase):
pisi.api.install(["ctorrent"])
self.installdb = pisi.db.installdb.InstallDB()
revdeps = self.installdb.get_rev_deps("openssl")
assert set(["ctorrent", "curl"]) == set(map(lambda x:x[0], revdeps))
assert set(["ctorrent", "curl"]) == set([x[0] for x in revdeps])
def testAddRemovePackage(self):
pisi.api.install(["ctorrent"])