Merge ~pappacena/launchpad:testfix-product-getOCIProject-permission into launchpad:master

Proposed by Thiago F. Pappacena
Status: Merged
Approved by: Thiago F. Pappacena
Approved revision: bb2217aba3af4cf173535b91bf6dc247008d93a1
Merge reported by: Otto Co-Pilot
Merged at revision: not available
Proposed branch: ~pappacena/launchpad:testfix-product-getOCIProject-permission
Merge into: launchpad:master
Diff against target: 22 lines (+2/-2)
1 file modified
lib/lp/registry/tests/test_product.py (+2/-2)
Reviewer Review Type Date Requested Status
Colin Watson (community) Approve
Review via email: mp+400663@code.launchpad.net

Commit message

Moving permission to call Product.getOCIProject from View to LimitedView

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
diff --git a/lib/lp/registry/tests/test_product.py b/lib/lp/registry/tests/test_product.py
index bd40296..0f04a93 100644
--- a/lib/lp/registry/tests/test_product.py
+++ b/lib/lp/registry/tests/test_product.py
@@ -829,7 +829,7 @@ class TestProduct(TestCaseWithFactory):
829 'launchpad.LimitedView': set((829 'launchpad.LimitedView': set((
830 'bugtargetdisplayname', 'display_name', 'displayname', 'drivers',830 'bugtargetdisplayname', 'display_name', 'displayname', 'drivers',
831 'enable_bug_expiration', 'getBugTaskWeightFunction',831 'enable_bug_expiration', 'getBugTaskWeightFunction',
832 'getSpecification',832 'getOCIProject', 'getSpecification',
833 'icon', 'logo', 'name', 'official_answers', 'official_anything',833 'icon', 'logo', 'name', 'official_answers', 'official_anything',
834 'official_blueprints', 'official_codehosting', 'official_malone',834 'official_blueprints', 'official_codehosting', 'official_malone',
835 'owner', 'parent_subscription_target', 'pillar', 'projectgroup',835 'owner', 'parent_subscription_target', 'pillar', 'projectgroup',
@@ -865,7 +865,7 @@ class TestProduct(TestCaseWithFactory):
865 'getEffectiveTranslationPermission', 'getExternalBugTracker',865 'getEffectiveTranslationPermission', 'getExternalBugTracker',
866 'getFAQ', 'getFirstEntryToImport', 'getLinkedBugWatches',866 'getFAQ', 'getFirstEntryToImport', 'getLinkedBugWatches',
867 'getMergeProposals', 'getMilestone', 'getMilestonesAndReleases',867 'getMergeProposals', 'getMilestone', 'getMilestonesAndReleases',
868 'getOCIProject', 'getQuestion', 'getQuestionLanguages',868 'getQuestion', 'getQuestionLanguages',
869 'getPackage', 'getRelease', 'getSeries', 'getSubscription',869 'getPackage', 'getRelease', 'getSeries', 'getSubscription',
870 'getSubscriptions', 'getSupportedLanguages', 'getTimeline',870 'getSubscriptions', 'getSupportedLanguages', 'getTimeline',
871 'getTopContributors', 'getTopContributorsGroupedByCategory',871 'getTopContributors', 'getTopContributorsGroupedByCategory',