Merge pull request #2810 from magrinidiego/ticket_22842_tutorial_test

Fixed #22842
This commit is contained in:
Daniele Procida 2014-06-15 13:11:36 +02:00
commit c755c8daa2
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ past:
def was_published_recently(self):
now = timezone.now()
return now - datetime.timedelta(days=1) <= self.pub_date < now
return now - datetime.timedelta(days=1) <= self.pub_date <= now
and run the test again::