~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/code/stories/webservice/xx-branchmergeproposal.txt

[r=sinzui][bug=568128] A branch is private if it is stacked on any
        private branches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
418
418
 
419
419
    >>> login('admin@canonical.com')
420
420
    >>> from zope.security.proxy import removeSecurityProxy
421
 
    >>> removeSecurityProxy(fixit_proposal.source_branch).private = True
 
421
    >>> removeSecurityProxy(fixit_proposal.source_branch).explicitly_private = True
422
422
    >>> branch_owner = fixit_proposal.source_branch.owner
423
423
    >>> logout()
424
424
 
437
437
    http://.../~source/fooix/fix-it/+merge/... - Approved
438
438
 
439
439
    >>> login('admin@canonical.com')
440
 
    >>> removeSecurityProxy(fixit_proposal.source_branch).private = False
 
440
    >>> removeSecurityProxy(fixit_proposal.source_branch).explicitly_private = False
441
441
    >>> logout()
442
442
 
443
443