~launchpad-results/launchpad-results/trunk

« back to all changes in this revision

Viewing changes to lib/lpresults/tracker/testing/factories.py

  • Committer: Marc Tardif
  • Date: 2011-08-29 09:15:02 UTC
  • Revision ID: marc.tardif@canonical.com-20110829091502-sfl5mwynurpuko1j
Added device states for system units.

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
        if system is None:
53
53
            system = self.makeSystem(**kwargs)
54
54
 
55
 
        return getUtility(ITestSystemSet).get(system.id)
 
55
        return getUtility(ITestSystemSet).getById(system.id)
56
56
 
57
57
    def makeTestSystemUnit(self, identifiers=None, **kwargs):
58
58
        system = self.makeTestSystem(**kwargs)