~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/services/messaging/tests/test_rabbit.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2012-01-01 11:37:40 UTC
  • mfrom: (14612.2.10 oh-god-so-many-imports)
  • Revision ID: launchpad@pqm.canonical.com-20120101113740-o241xl1m2njr25qn
[r=wgrant][no-qa] Post-apocalyptic tree-wide format-imports.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
from zope.component import getUtility
16
16
from zope.event import notify
17
17
 
18
 
from lp.services.webapp.interfaces import FinishReadOnlyRequestEvent
19
 
from lp.testing.layers import (
20
 
    LaunchpadFunctionalLayer,
21
 
    RabbitMQLayer,
22
 
    )
23
18
from lp.services.messaging.interfaces import (
24
19
    IMessageConsumer,
25
20
    IMessageProducer,
38
33
    session as global_session,
39
34
    unreliable_session as global_unreliable_session,
40
35
    )
 
36
from lp.services.webapp.interfaces import FinishReadOnlyRequestEvent
41
37
from lp.testing import TestCase
42
38
from lp.testing.fakemethod import FakeMethod
43
39
from lp.testing.faketransaction import FakeTransaction
 
40
from lp.testing.layers import (
 
41
    LaunchpadFunctionalLayer,
 
42
    RabbitMQLayer,
 
43
    )
44
44
from lp.testing.matchers import Provides
45
45
 
46
46
# RabbitMQ is not (yet) torn down or reset between tests, so here are sources