aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--unit-tests.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/unit-tests.py b/unit-tests.py
index bc7edf7..4fd91e6 100644
--- a/unit-tests.py
+++ b/unit-tests.py
@@ -569,8 +569,7 @@ class TestPKeyMatch(TestCaseLoggedIn):
tags.extend(PreloadedKey.db)
self.assertEqual(len(tags), len(uuids))
- matched_uuids = set(k.uuid for n, k in self.match(flags = flags))
- self.assertGreaterEqual(matched_uuids, uuids)
+ self.assertEqual(uuids, set(k.uuid for n, k in self.match(flags = flags, uuids = uuids)))
for keytype in set(HALKeyType.index.itervalues()) - {HAL_KEY_TYPE_NONE}:
for n, k in self.match(flags = flags, uuids = uuids, type = keytype):