~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: William Grant
  • Date: 2012-01-04 23:49:46 UTC
  • mto: This revision was merged to the branch mainline in revision 14635.
  • Revision ID: william.grant@canonical.com-20120104234946-i1hbapx9288jjoay
EmailAddressSet.new now infers account from person where possible. Fix redundant tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
104
104
 
105
105
        # Now link the revision author to the author.
106
106
        author.validateAndEnsurePreferredEmail(
107
 
            EmailAddressSet().new(email, author, account=author.account))
 
107
            EmailAddressSet().new(email, author))
108
108
        transaction.commit()
109
109
        # Run the RevisionAuthorEmailLinker garbo job.
110
110
        RevisionAuthorEmailLinker(log=DevNullLogger()).run()