瀏覽代碼

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):