Преглед на файлове

Marked possibly failing test with a TODO note.

Vincent Driessen преди 15 години
родител
ревизия
24499bff40
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      celery/tests/test_task.py

+ 1 - 0
celery/tests/test_task.py

@@ -475,6 +475,7 @@ class TestPeriodicTask(unittest.TestCase):
     def test_is_due_not_due(self):
         due, remaining = MyPeriodic().is_due(datetime.now())
         self.assertFalse(due)
+        # TODO: This assertion may fail if executed in the first minute of an hour
         self.assertGreater(remaining, 60)
 
     def test_is_due(self):