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
@@ -7,7 +7,7 @@ class SourceArchiveTestCase(unittest.TestCase):
def testFetch(self):
spec = SpecFile('repos/pardus-2007/system/base/curl/pspec.xml')
srcarch = pisi.sourcearchive.SourceArchive(spec.source.archive[0])
self.assert_(not srcarch.fetch())
self.assertTrue(not srcarch.fetch())
def testIscached(self):
spec = SpecFile('repos/pardus-2007/system/base/curl/pspec.xml')
@@ -18,7 +18,7 @@ class SourceArchiveTestCase(unittest.TestCase):
spec = SpecFile('repos/pardus-2007/system/base/curl/pspec.xml')
targetDir = '/tmp/tests'
srcarch = pisi.sourcearchive.SourceArchive(spec.source.archive[0])
self.assert_(not srcarch.unpack(targetDir))
self.assertTrue(not srcarch.unpack(targetDir))
def testUnpack(self):
spec = SpecFile('repos/pardus-2007/system/base/curl/pspec.xml')