~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/tests/test_person.py

  • Committer: William Grant
  • Date: 2012-01-05 03:11:37 UTC
  • mto: This revision was merged to the branch mainline in revision 14635.
  • Revision ID: william.grant@canonical.com-20120105031137-ij9n2e34vp3fbm1v
Fix TestPersonSetCreateByOpenId.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1263
1263
            displayname='Displayname',
1264
1264
            creation_rationale=PersonCreationRationale.UNKNOWN))
1265
1265
 
1266
 
    def makeEmailAddress(self, email, account, person):
 
1266
    def makeEmailAddress(self, email, person):
1267
1267
            return self.store.add(EmailAddress(
1268
1268
                email=email,
1269
 
                account=account,
 
1269
                account=person.account,
1270
1270
                person=person,
1271
1271
                status=EmailAddressStatus.PREFERRED))
1272
1272