~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-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:
1243
1243
        self.identifier = self.makeOpenIdIdentifier(self.account, u'whatever')
1244
1244
        self.person = self.makePerson(self.account)
1245
1245
        self.email = self.makeEmailAddress(
1246
 
            email='whatever@example.com',
1247
 
            account=self.account, person=self.person)
 
1246
            email='whatever@example.com', person=self.person)
1248
1247
 
1249
1248
    def makeAccount(self):
1250
1249
        return self.store.add(Account(