~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:41:45 UTC
  • mto: This revision was merged to the branch mainline in revision 14641.
  • Revision ID: gavin.panella@canonical.com-20120103134145-5z4gnyz4991nqz4a
TestSlaveScannerScan needs TestCaseWithFactory after all, and fix a missing import.

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
    )
47
47
from lp.registry.interfaces.distribution import IDistributionSet
48
48
from lp.services.config import config
 
49
from lp.services.database.constants import UTC_NOW
49
50
from lp.services.log.logger import BufferLogger
50
51
from lp.soyuz.interfaces.binarypackagebuild import IBinaryPackageBuildSet
51
52
from lp.testing import (
67
68
    )
68
69
 
69
70
 
70
 
class TestSlaveScannerScan(TestCase):
 
71
class TestSlaveScannerScan(TestCaseWithFactory):
71
72
    """Tests `SlaveScanner.scan` method.
72
73
 
73
74
    This method uses the old framework for scanning and dispatching builds.