~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/soyuz/interfaces/webservice.py

  • Committer: Curtis Hovey
  • Date: 2011-08-21 14:21:06 UTC
  • mto: This revision was merged to the branch mainline in revision 13745.
  • Revision ID: curtis.hovey@canonical.com-20110821142106-x93hajd6iguma8gx
Update test that was enforcing bad grammar.

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
    'VersionRequiresName',
52
52
    ]
53
53
 
54
 
from lp.services.webservice.apihelpers import (
55
 
    patch_collection_property,
56
 
    patch_plain_parameter_type,
57
 
    patch_reference_property,
58
 
    )
59
 
# XXX: JonathanLange 2010-11-09 bug=673083: Legacy work-around for circular
60
 
# import bugs.  Break this up into a per-package thing.
61
 
from lp import _schema_circular_imports
62
54
from lp.soyuz.interfaces.archive import (
63
55
    AlreadySubscribed,
64
56
    ArchiveDisabled,
66
58
    CannotCopy,
67
59
    CannotSwitchPrivacy,
68
60
    CannotUploadToArchive,
 
61
    CannotUploadToPPA,
69
62
    CannotUploadToPocket,
70
 
    CannotUploadToPPA,
71
63
    ComponentNotFound,
72
64
    IArchive,
73
65
    InsufficientUploadRights,
74
66
    InvalidComponent,
 
67
    InvalidPocketForPPA,
75
68
    InvalidPocketForPartnerArchive,
76
 
    InvalidPocketForPPA,
77
69
    NoRightsForArchive,
78
70
    NoRightsForComponent,
79
71
    NoSuchPPA,
91
83
from lp.soyuz.interfaces.binarypackagerelease import (
92
84
    IBinaryPackageReleaseDownloadCount,
93
85
    )
94
 
from lp.soyuz.interfaces.buildrecords import IncompatibleArguments
 
86
from lp.soyuz.interfaces.buildrecords import (
 
87
    IncompatibleArguments,
 
88
    )
95
89
from lp.soyuz.interfaces.distroarchseries import IDistroArchSeries
96
90
from lp.soyuz.interfaces.packageset import (
97
91
    DuplicatePackagesetName,
111
105
    )
112
106
from lp.soyuz.interfaces.queue import IPackageUpload
113
107
 
 
108
from canonical.launchpad.components.apihelpers import (
 
109
    patch_collection_property,
 
110
    patch_plain_parameter_type,
 
111
    patch_reference_property,
 
112
    )
114
113
 
 
114
# XXX: JonathanLange 2010-11-09 bug=673083: Legacy work-around for circular
 
115
# import bugs.  Break this up into a per-package thing.
 
116
from canonical.launchpad.interfaces import _schema_circular_imports
115
117
_schema_circular_imports
116
118
 
117
119
# IProcessor