aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-05 11:26:39 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-05 11:26:39 +0100
commitcacf426632ba277401058f0da77a72150fde26df (patch)
treea8f293b0dd704bbecbe0fa4a5dd2a140222dcf51
parentfcd44ae4a941590e67de21a3b6f23b0a1c5d2cfb (diff)
downloadpaludis-cacf426632ba277401058f0da77a72150fde26df.tar.gz
paludis-cacf426632ba277401058f0da77a72150fde26df.tar.xz
ids could be in any order
-rwxr-xr-xpython/repository_TEST.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/repository_TEST.py b/python/repository_TEST.py
index 35b64be..ef0a559 100755
--- a/python/repository_TEST.py
+++ b/python/repository_TEST.py
@@ -63,6 +63,7 @@ class TestCase_01_Repository(unittest.TestCase):
def test_07_package_ids(self):
y = list(x.version for x in repo.package_ids("foo/bar"));
+ y.sort()
z = [VersionSpec("1.0"), VersionSpec("2.0")]
self.assertEquals(y, z)
self.assertEquals(len(list(repo.package_ids("bar/baz"))), 0)