~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/services/gpg/tests/test_gpghandler.py

  • Committer: William Grant
  • Date: 2011-12-30 08:13:14 UTC
  • mto: This revision was merged to the branch mainline in revision 14611.
  • Revision ID: william.grant@canonical.com-20111230081314-f73f4ozgkzdi5xqb
More stuff.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
from zope.component import getUtility
19
19
from zope.security.proxy import removeSecurityProxy
20
20
 
 
21
from lp.services.gpg.interfaces import (
 
22
    GPGKeyDoesNotExistOnServer,
 
23
    GPGKeyTemporarilyNotFoundError,
 
24
    IGPGHandler,
 
25
    )
 
26
from lp.services.timeout import (
 
27
    get_default_timeout_function,
 
28
    set_default_timeout_function,
 
29
    )
21
30
from lp.testing import (
22
31
    ANONYMOUS,
23
32
    login,
24
33
    logout,
25
 
    )
26
 
from canonical.lazr.timeout import (
27
 
    get_default_timeout_function,
28
 
    set_default_timeout_function,
29
 
    )
30
 
from lp.testing.layers import LaunchpadFunctionalLayer
31
 
from lp.services.gpg.interfaces import (
32
 
    GPGKeyDoesNotExistOnServer,
33
 
    GPGKeyTemporarilyNotFoundError,
34
 
    IGPGHandler,
35
 
    )
36
 
from lp.testing import TestCase
 
34
    TestCase,
 
35
    )
37
36
from lp.testing.gpgkeys import (
38
37
    import_secret_test_key,
39
38
    iter_test_key_emails,
41
40
    test_pubkey_from_email,
42
41
    )
43
42
from lp.testing.keyserver import KeyServerTac
 
43
from lp.testing.layers import LaunchpadFunctionalLayer
44
44
 
45
45
 
46
46
class TestImportKeyRing(TestCase):