Part of canonical.launchpad.utilities.ftests.test_gpghandler View In Hierarchy
Method | setUp | Get a gpghandler and login |
Method | tearDown | Zero out the gpg database |
Method | populateKeyring | Undocumented |
Method | testEmptyGetKeys | The initial local key list should be empty. |
Method | testPopulatedGetKeys | Import our test keys and check they get imported. |
Method | testFilteredGetKeys | Check the filtered key lookup mechanism. |
Method | test_unicode_filter | Using a unicode filter works also. |
Method | test_non_ascii_filter | localKeys should not error if passed non-ascii unicode strings. |
Method | testTestkeyrings | Do we have the expected test keyring files |
Method | testImportKeyRing | Import a sample keyring and check its contents are available. |
Method | testSetOwnerTrust | Import a key and set the ownertrust. |
Method | testCheckTrustDb | Test IGPGHandler.checkTrustDb() |
Test filtering by fingerprint, key ID, UID restricted to public or secret keyrings.