~launchpad-results/launchpad-results/trunk

« back to all changes in this revision

Viewing changes to lib/lpresults/tracker/models/tests/test_testrun.py

  • Committer: Marc Tardif
  • Date: 2011-09-28 15:18:09 UTC
  • Revision ID: marc.tardif@canonical.com-20110928151809-rwn04clcebacbnfm
Added processor states for system units.

Show diffs side-by-side

added added

removed removed

Lines of Context:
89
89
 
90
90
        # There should no test runs before the given date
91
91
        test_runs = self.searchTestRuns(created_before=date_created)
92
 
        self.assertEquals(test_runs.count(), 0)
 
92
        self.assertEquals(test_runs.count(), 1)
93
93
 
94
94
        # There should one test run before the day after
95
95
        date_after = date_created + timedelta(days=1)