~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/stories/webservice/xx-derivedistroseries.txt

Merged replication into pending-db-changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
Set Up
9
9
======
10
10
 
 
11
    >>> from lp.registry.interfaces.person import TeamSubscriptionPolicy
11
12
    >>> from lp.testing.sampledata import ADMIN_EMAIL
12
13
    >>> from canonical.launchpad.testing.pages import webservice_for_person
13
14
    >>> from canonical.launchpad.webapp.interfaces import OAuthPermission
15
16
 
16
17
    >>> login(ADMIN_EMAIL)
17
18
 
18
 
    >>> soyuz_team = factory.makeTeam(name='soyuz-team')
 
19
    >>> soyuz_team = factory.makeTeam(
 
20
    ...     name='soyuz-team',
 
21
    ...     subscription_policy=TeamSubscriptionPolicy.RESTRICTED)
19
22
    >>> parent_series = factory.makeDistroSeries(name="parentseries")
20
23
    >>> arch = factory.makeDistroArchSeries(distroseries=parent_series)
21
24
    >>> removeSecurityProxy(parent_series).nominatedarchindep = arch