~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/code/scripts/tests/test_revisionkarma.py

  • Committer: Curtis Hovey
  • Date: 2011-12-18 13:56:51 UTC
  • mfrom: (14538.1.3 identity-apocalypse-0)
  • mto: This revision was merged to the branch mainline in revision 14547.
  • Revision ID: curtis.hovey@canonical.com-20111218135651-1xb4j1p47dkb83ws
merged base branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright 2009 Canonical Ltd.  This software is licensed under the
 
1
# Copyright 2009-2011 Canonical Ltd.  This software is licensed under the
2
2
# GNU Affero General Public License version 3 (see the file LICENSE).
3
3
 
4
4
"""Tests for the cron script that updates revision karma."""
9
9
import transaction
10
10
 
11
11
from canonical.config import config
12
 
from canonical.launchpad.database.emailaddress import EmailAddressSet
 
12
from lp.services.identity.model.emailaddress import EmailAddressSet
13
13
from lp.scripts.garbo import RevisionAuthorEmailLinker
14
14
from canonical.testing.layers import LaunchpadZopelessLayer
15
15
from lp.code.model.revision import RevisionSet