Merge ~ilasc/launchpad:fix-test-answer-contact-affiliation-for-product into launchpad:master

Proposed by Ioana Lasc
Status: Merged
Approved by: Ioana Lasc
Approved revision: 51666874e6d47fec09ffff32173e7a531ec7989d
Merge reported by: Otto Co-Pilot
Merged at revision: not available
Proposed branch: ~ilasc/launchpad:fix-test-answer-contact-affiliation-for-product
Merge into: launchpad:master
Diff against target: 15 lines (+1/-1)
1 file modified
lib/lp/registry/tests/test_pillaraffiliation.py (+1/-1)
Reviewer Review Type Date Requested Status
Colin Watson (community) Approve
Review via email: mp+409270@code.launchpad.net

Commit message

Fix test_answer_contact_affiliation_for_product

To post a comment you must log in.
Revision history for this message
Colin Watson (cjwatson) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/lib/lp/registry/tests/test_pillaraffiliation.py b/lib/lp/registry/tests/test_pillaraffiliation.py
2index 47e49e2..465aa76 100644
3--- a/lib/lp/registry/tests/test_pillaraffiliation.py
4+++ b/lib/lp/registry/tests/test_pillaraffiliation.py
5@@ -516,9 +516,9 @@ class TestQuestionPillarAffiliation(TestCaseWithFactory):
6 # target.
7 answer_contact = self.factory.makePerson()
8 english = getUtility(ILanguageSet)['en']
9- answer_contact.addLanguage(english)
10 product = self.factory.makeProduct()
11 with person_logged_in(answer_contact):
12+ answer_contact.addLanguage(english)
13 product.addAnswerContact(answer_contact, answer_contact)
14 question = self.factory.makeQuestion(target=product)
15 [badges] = (

Subscribers

People subscribed via source and target branches

to status/vote changes: