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 fbe7e3a..f461a0e 100644
--- a/unit-tests.py
+++ b/unit-tests.py
@@ -571,8 +571,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):