~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-12-31 00:26:32 UTC
  • mfrom: (14606.4.19 apocaremains-2)
  • Revision ID: launchpad@pqm.canonical.com-20111231002632-67fafhhz150cct3b
[r=wgrant][no-qa] Explode canonical.lazr.

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):