~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/buildmaster/interfaces/builder.py

  • Committer: Jeroen Vermeulen
  • Date: 2011-11-09 11:50:17 UTC
  • mto: This revision was merged to the branch mainline in revision 14459.
  • Revision ID: jeroen.vermeulen@canonical.com-20111109115017-r2f475i0i85mfoub
Fixing yet more tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright 2009 Canonical Ltd.  This software is licensed under the
 
1
# Copyright 2009-2011 Canonical Ltd.  This software is licensed under the
2
2
# GNU Affero General Public License version 3 (see the file LICENSE).
3
3
 
4
4
# pylint: disable-msg=E0211,E0213
25
25
    export_as_webservice_entry,
26
26
    export_read_operation,
27
27
    exported,
 
28
    operation_for_version,
28
29
    operation_parameters,
 
30
    operation_returns_collection_of,
29
31
    operation_returns_entry,
30
 
    operation_returns_collection_of,
31
 
    operation_for_version,
32
32
    )
33
33
from lazr.restful.fields import (
34
34
    Reference,
50
50
from lp.app.validators.name import name_validator
51
51
from lp.app.validators.url import builder_url_validator
52
52
from lp.registry.interfaces.role import IHasOwner
53
 
from lp.soyuz.interfaces.processor import IProcessor
54
53
from lp.services.fields import (
55
54
    Description,
56
55
    PersonChoice,
57
56
    Title,
58
57
    )
 
58
from lp.soyuz.interfaces.processor import IProcessor
59
59
 
60
60
 
61
61
class BuildDaemonError(Exception):
195
195
 
196
196
    def setSlaveForTesting(proxy):
197
197
        """Sets the RPC proxy through which to operate the build slave."""
 
198
        # XXX JeroenVermeulen 2011-11-09, bug=888010: Don't use this.
 
199
        # It's a trap.  See bug for details.
198
200
 
199
201
    def verifySlaveBuildCookie(slave_build_id):
200
202
        """Verify that a slave's build cookie is consistent.