Merge ~cjwatson/launchpad:testfix-faster-teams-vocab into launchpad:master

Proposed by Colin Watson
Status: Merged
Approved by: Colin Watson
Approved revision: f1746e7ce45d2d7fd2cd88990cb12150d501fe8f
Merge reported by: Otto Co-Pilot
Merged at revision: not available
Proposed branch: ~cjwatson/launchpad:testfix-faster-teams-vocab
Merge into: launchpad:master
Diff against target: 12 lines (+1/-0)
1 file modified
lib/lp/registry/doc/vocabularies.txt (+1/-0)
Reviewer Review Type Date Requested Status
Colin Watson (community) Approve
Review via email: mp+390133@code.launchpad.net

Commit message

testfix: Fix undefined variable in vocabularies.txt

Description of the change

This was broken by removing a preceding section of doctest for PersonTeamParticipations.

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

Self-approving trivial test-only testfix.

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/doc/vocabularies.txt b/lib/lp/registry/doc/vocabularies.txt
2index 7e4d4d1..2ce7469 100644
3--- a/lib/lp/registry/doc/vocabularies.txt
4+++ b/lib/lp/registry/doc/vocabularies.txt
5@@ -354,6 +354,7 @@ all milestones. IPerson related pages showing milestone lists retrieve
6 the milestones from RelevantMilestonesMixin.getMilestoneWidgetValues()
7 but we need the big default vocabulary for form input validation.
8
9+ >>> sample_person = person_set.getByName('name12')
10 >>> all_milestones = get_naked_vocab(sample_person, 'Milestone')
11 >>> len(all_milestones)
12 3

Subscribers

People subscribed via source and target branches

to status/vote changes: