Add python3 support
This commit is contained in:
@@ -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"])
|
||||
|
||||
Reference in New Issue
Block a user