~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/model/tests/test_bug.py

  • Committer: Jeroen Vermeulen
  • Date: 2011-09-26 06:30:07 UTC
  • mto: This revision was merged to the branch mainline in revision 14049.
  • Revision ID: jeroen.vermeulen@canonical.com-20110926063007-1fb5eelnidpnra9a
Fix lots of lint in recently-changed files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
845
845
        # that bug that falls within a given date range.
846
846
        bug = self.factory.makeBug(
847
847
            date_created=self.now - timedelta(days=365))
848
 
        self._makeActivityForBug(bug, activity_ages=[200,100])
 
848
        self._makeActivityForBug(bug, activity_ages=[200, 100])
849
849
        start_date = self.now - timedelta(days=250)
850
850
        end_date = self.now - timedelta(days=150)
851
851
        activity = bug.getActivityForDateRange(
858
858
        # falls on the start_ and end_ dates.
859
859
        bug = self.factory.makeBug(
860
860
            date_created=self.now - timedelta(days=365))
861
 
        self._makeActivityForBug(bug, activity_ages=[300,200,100])
 
861
        self._makeActivityForBug(bug, activity_ages=[300, 200, 100])
862
862
        start_date = self.now - timedelta(days=300)
863
863
        end_date = self.now - timedelta(days=100)
864
864
        activity = bug.getActivityForDateRange(