Browse Source

tests passing

Ask Solem 12 years ago
parent
commit
8aa0d2dc02
1 changed files with 1 additions and 0 deletions
  1. 1 0
      celery/tests/app/test_beat.py

+ 1 - 0
celery/tests/app/test_beat.py

@@ -132,6 +132,7 @@ class mocked_schedule(schedule):
         self._is_due = is_due
         self._next_run_at = next_run_at
         self.run_every = timedelta(seconds=1)
+        self.nowfun = datetime.utcnow
 
     def is_due(self, last_run_at):
         return self._is_due, self._next_run_at