~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/buildmaster/doc/buildqueue.txt

  • Committer: Raphael Badin
  • Date: 2012-01-06 15:24:37 UTC
  • mto: This revision was merged to the branch mainline in revision 14654.
  • Revision ID: raphael.badin@canonical.com-20120106152437-xnotweoks4b2jj0b
Fix doctest.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
collected) the BuildQueue record representing it is removed.
14
14
 
15
15
    >>> from lp.services.webapp.testing import verifyObject
 
16
    >>> from lp.services.propertycache import get_property_cache
16
17
    >>> from lp.buildmaster.interfaces.buildqueue import (
17
18
    ...     IBuildQueue, IBuildQueueSet)
18
19
 
135
136
 
136
137
    >>> job.reset()
137
138
 
 
139
    >>> del get_property_cache(bob).currentjob
138
140
    >>> print bob.currentjob
139
141
    None
140
142
 
154
156
 
155
157
    >>> job.markAsBuilding(bob)
156
158
 
 
159
    >>> del get_property_cache(bob).currentjob
157
160
    >>> bob.currentjob == job
158
161
    True
159
162