~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/answers/tests/test_questionjob.py

  • Committer: Curtis Hovey
  • Date: 2011-05-09 16:35:10 UTC
  • mto: This revision was merged to the branch mainline in revision 13009.
  • Revision ID: curtis.hovey@canonical.com-20110509163510-6y29m1tvmwkklemt
Alway pass the subscribed_by argument to addAnswerContact.

Show diffs side-by-side

added added

removed removed

Lines of Context:
82
82
        with person_logged_in(contact):
83
83
            lang_set = getUtility(ILanguageSet)
84
84
            contact.addLanguage(lang_set['en'])
85
 
            question.target.addAnswerContact(contact)
 
85
            question.target.addAnswerContact(contact, contact)
86
86
        return contact
87
87
 
88
88
    def test_create(self):