~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/scripts/tests/test_bugnotification.py

Merge db-devel.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
from canonical.launchpad.ftests import login
23
23
from canonical.launchpad.helpers import get_contact_email_addresses
24
24
from canonical.launchpad.interfaces.lpstorm import IStore
25
 
from canonical.launchpad.interfaces.message import IMessageSet
 
25
from lp.services.messages.interfaces.message import IMessageSet
26
26
from canonical.testing.layers import LaunchpadZopelessLayer
27
27
from lp.bugs.adapters.bugchange import (
28
28
    BranchLinkedToBug,
172
172
 
173
173
    implements(IBugNotificationSet)
174
174
 
175
 
    def getRecipientFilterData(self, recipient_to_sources, notifications):
 
175
    def getRecipientFilterData(self, bug, recipient_to_sources,
 
176
                               notifications):
176
177
        return dict(
177
178
            (recipient, {'sources': sources, 'filter descriptions': []})
178
179
            for recipient, sources in recipient_to_sources.items())