~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Raphael Badin
  • Date: 2012-01-05 14:15:39 UTC
  • mto: This revision was merged to the branch mainline in revision 14654.
  • Revision ID: raphael.badin@canonical.com-20120105141539-agv28b07mpiq61l4
Account for build.buildqueue_record not being cached.

Show diffs side-by-side

added added

removed removed

Lines of Context:
344
344
        def got_status(ignored):
345
345
            self.assertEqual(BuildStatus.FAILEDTOUPLOAD, self.build.status)
346
346
            self.assertResultCount(0, "failed")
347
 
            self.assertIdentical(None, self.build._buildqueue_record)
 
347
            self.assertIdentical(None, self.build.buildqueue_record)
348
348
 
349
349
        d = self.build.handleStatus('OK', None, {
350
350
            'filemap': {'/tmp/myfile.py': 'test_file_hash'},