~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/testing/factory.py

[r=gmb][bug=283167] Branch owners can edit any subscriptions to the
 branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1486
1486
 
1487
1487
    def makeBranchSubscription(self, branch=None, person=None,
1488
1488
                               subscribed_by=None):
1489
 
        """Create a BranchSubscription.
1490
 
 
1491
 
        :param branch_title: The title to use for the created Branch
1492
 
        :param person_displayname: The displayname for the created Person
1493
 
        """
 
1489
        """Create a BranchSubscription."""
1494
1490
        if branch is None:
1495
1491
            branch = self.makeBranch()
1496
1492
        if person is None: