~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: William Grant
  • Date: 2012-01-01 02:58:52 UTC
  • mto: This revision was merged to the branch mainline in revision 14614.
  • Revision ID: william.grant@canonical.com-20120101025852-p6ouypk9mzb5usn8
format-imports on lib/. So many 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