Archive için bir deneme...
tests içerisindekileri unittest'e taşımayı ciddi ciddi düşünüyoruz (şimdilik sadece düşünüyoruz...)
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
import sys
|
||||
sys.path.append("..")
|
||||
sys.path.append(".")
|
||||
|
||||
from pisi import archive
|
||||
from pisi import specfile
|
||||
|
||||
spec = specfile.SpecFile()
|
||||
spec.read(sys.argv[1])
|
||||
|
||||
print "unpacking file: %s" % spec.archiveName
|
||||
|
||||
a = archive.Archive(spec.archiveType, spec.archiveName)
|
||||
a.unpack()
|
||||
Reference in New Issue
Block a user