~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/buildmaster/tests/test_manager.py

  • Committer: Gavin Panella
  • Date: 2012-01-03 13:44:35 UTC
  • mto: This revision was merged to the branch mainline in revision 14641.
  • Revision ID: gavin.panella@canonical.com-20120103134435-om041v7ijceqr745
Fix some lint.

Show diffs side-by-side

added added

removed removed

Lines of Context:
189
189
            login('foo.bar@canonical.com')
190
190
            ubuntu = getUtility(IDistributionSet).getByName('ubuntu')
191
191
            hoary = ubuntu.getSeries('hoary')
192
 
            pocket_chroot = hoary.getDistroArchSeries('i386').getPocketChroot()
 
192
            pocket_chroot = (
 
193
                hoary.getDistroArchSeries('i386').getPocketChroot())
193
194
            removeSecurityProxy(pocket_chroot).chroot = None
194
195
 
195
196
        login(ANONYMOUS)
594
595
            self.builder.vm_host = "fake_vm_host"
595
596
            self.builder.setSlaveForTesting(slave)
596
597
            buildqueue = self.builder.currentjob
597
 
            build = getUtility(IBinaryPackageBuildSet).getByQueueEntry(buildqueue)
 
598
            build = getUtility(
 
599
                IBinaryPackageBuildSet).getByQueueEntry(buildqueue)
598
600
            build.status = BuildStatus.CANCELLING
599
601
 
600
602
        def check(result):