summaryrefslogtreecommitdiff
path: root/swig
diff options
context:
space:
mode:
authorKlaus Kämpf <kkaempf@suse.de>2010-12-06 20:00:18 +0100
committerKlaus Kämpf <kkaempf@suse.de>2010-12-06 20:00:18 +0100
commit9c08e9ff17427b751ec10ffe896de464ab38bc6b (patch)
tree104ada789db25ef8dda2952cdce752ae96f2e66b /swig
parent0df3e89c689074ccf4e82597b9d584da061763d4 (diff)
downloadlibzypp-bindings-9c08e9ff17427b751ec10ffe896de464ab38bc6b.tar.gz
libzypp-bindings-9c08e9ff17427b751ec10ffe896de464ab38bc6b.tar.bz2
libzypp-bindings-9c08e9ff17427b751ec10ffe896de464ab38bc6b.zip
Fix test, look at Package only
Diffstat (limited to 'swig')
-rw-r--r--swig/python/tests/installed_path.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/swig/python/tests/installed_path.py b/swig/python/tests/installed_path.py
index f8c77f8..95cecd7 100644
--- a/swig/python/tests/installed_path.py
+++ b/swig/python/tests/installed_path.py
@@ -16,7 +16,7 @@ class TestSequenceFunctions(unittest.TestCase):
Z.target().load()
installed_pkgs = Z.pool()
for item in installed_pkgs:
- if not zypp.isKindPattern(item):
+ if zypp.isKindPackage(item):
print "Repopath %s" % item.repoInfo().packagesPath()
item = zypp.asKindPackage(item)
print "Location filename %s" % item.location().filename()