aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2017-04-03 20:41:49 -0400
committerRob Austein <sra@hactrn.net>2017-04-03 20:41:49 -0400
commita3a588361df25e3f1493b3ab880df75a914664f0 (patch)
tree84d763e2548be23ba6bfa9ffe1de980ecb3dcf86
parentfaf6905dd3208dc5e479e2a1a2bec624b2420899 (diff)
parentc6f35b5afc9a829b1c03a9f8d0876e1448e5a686 (diff)
Merge branch 'pymux' into pkcs8
-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):