Fix unittest import_with_colons to use key dict.

testing/mmn/mktime_takes_localtime_not_gmtime
Isis Lovecruft 2013-07-02 09:14:56 +00:00
parent b3decd7b73
commit 1a38d786a3
No known key found for this signature in database
GPG Key ID: A3ADB67A2CDB8B35
1 changed files with 2 additions and 2 deletions

View File

@ -482,8 +482,8 @@ class GPGTestCase(unittest.TestCase):
self.assertIsNotNone(key) self.assertIsNotNone(key)
self.assertEqual(len(keys), 1) self.assertEqual(len(keys), 1)
key = keys[0] key = keys[0]
self.assertIsNotNone(key.type) self.assertIsNotNone(key['type'])
self.assertIsNotNone(key.fingerprint) self.assertIsNotNone(key['fingerprint'])
uids = key['uids'] uids = key['uids']
self.assertEqual(len(uids), 1) self.assertEqual(len(uids), 1)
uid = uids[0] uid = uids[0]