~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/code/model/tests/test_sourcepackagerecipebuild.py

  • Committer: Raphael Badin
  • Date: 2011-10-20 20:57:05 UTC
  • mto: This revision was merged to the branch mainline in revision 14185.
  • Revision ID: raphael.badin@canonical.com-20111020205705-2b74villx4cvpscb
Fix tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
337
337
        self.assertEqual(
338
338
            'DEBUG Recipe eric/funky-recipe is stale\n'
339
339
            'DEBUG  - daily build failed for Warty (4.10): ' +
340
 
            'PPA for Eric is disabled.\n',
 
340
            "ArchiveDisabled(u'PPA for Eric is disabled.',)\n",
341
341
            logger.getLogBuffer())
342
342
 
343
343
    def test_makeDailyBuilds_skips_archive_with_no_permission(self):
355
355
        self.assertEqual([], daily_builds)
356
356
        self.assertEqual(
357
357
            'DEBUG Recipe eric/funky-recipe is stale\n'
358
 
            'DEBUG  - daily build failed for Warty (4.10): ' +
359
 
            'Signer has no upload rights to this PPA.\n',
 
358
            'DEBUG  - daily build failed for Warty (4.10): '
 
359
            "CannotUploadToPPA('Signer has no upload rights "
 
360
            "to this PPA.',)\n",
360
361
            logger.getLogBuffer())
361
362
 
362
363
    def test_makeDailyBuilds_with_an_older_build(self):