=== modified file 'tests/aptdeb.txt' --- tests/aptdeb.txt 2007-01-26 22:44:38 +0000 +++ tests/aptdeb.txt 2008-08-18 17:19:22 +0000 @@ -43,10 +43,11 @@ This should give us one package with the data we already know. - >>> cache.getPackages() + >>> packages = sorted(cache.getPackages()) + >>> packages [name1_version1-release1, name2_version2-release2] - >>> pkg = cache.getPackages()[0] + >>> pkg = packages[0] >>> type(pkg) === modified file 'tests/aptrpm.txt' --- tests/aptrpm.txt 2006-11-07 23:10:51 +0000 +++ tests/aptrpm.txt 2008-08-18 17:18:49 +0000 @@ -43,10 +43,11 @@ This should give us one package with the data we already know. - >>> cache.getPackages() + >>> packages = sorted(cache.getPackages()) + >>> packages [name1-version1-release1@noarch, name2-version2-release2@noarch] - >>> pkg = cache.getPackages()[0] + >>> pkg = packages[0] >>> type(pkg) === modified file 'tests/debdir.txt' --- tests/debdir.txt 2007-01-26 22:44:38 +0000 +++ tests/debdir.txt 2008-08-18 17:21:39 +0000 @@ -42,10 +42,11 @@ This should give us one package with the data we already know. - >>> cache.getPackages() + >>> packages = sorted(cache.getPackages()) + >>> packages [name1_version1-release1, name2_version2-release2] - >>> pkg = cache.getPackages()[0] + >>> pkg = packages[0] >>> type(pkg) === modified file 'tests/rpmdir.txt' --- tests/rpmdir.txt 2006-11-07 22:53:25 +0000 +++ tests/rpmdir.txt 2008-08-18 17:18:24 +0000 @@ -42,10 +42,11 @@ This should give us one package with the data we already know. - >>> cache.getPackages() + >>> packages = sorted(cache.getPackages()) + >>> packages [name1-version1-release1@noarch, name2-version2-release2@noarch] - >>> pkg = cache.getPackages()[0] + >>> pkg = packages[0] >>> type(pkg) === modified file 'tests/urpmi.txt' --- tests/urpmi.txt 2006-12-04 16:53:43 +0000 +++ tests/urpmi.txt 2008-08-18 17:20:45 +0000 @@ -46,10 +46,11 @@ This should give us one package with the data we already know. - >>> cache.getPackages() + >>> packages = sorted(cache.getPackages()) + >>> packages [name1-version1-release1@noarch, name2-version2-release2@noarch] - >>> pkg = cache.getPackages()[0] + >>> pkg = packages[0] >>> type(pkg) === modified file 'tests/yast2.txt' --- tests/yast2.txt 2006-06-13 18:42:47 +0000 +++ tests/yast2.txt 2008-08-18 17:20:10 +0000 @@ -42,10 +42,11 @@ This should give us one package with the data we already know. - >>> cache.getPackages() + >>> packages = sorted(cache.getPackages()) + >>> packages [name1-version1-release1@noarch, name2-version2-release2@noarch] - >>> pkg = cache.getPackages()[0] + >>> pkg = packages[0] >>> type(pkg)