From: Daniel Devine <devine@ddevnet.net>
Date: Fri, 28 Jul 2017 13:18:51 +1000
Subject: Fixed test to not expire relative to current date. Added test to
 check both if a task is due in addition to not due.

---
 t/unit/test_schedulers.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/unit/test_schedulers.py b/t/unit/test_schedulers.py
index d638477..8dd1862 100644
--- a/t/unit/test_schedulers.py
+++ b/t/unit/test_schedulers.py
@@ -464,7 +464,7 @@ class test_models(SchedulerCase):
 
         assert s.schedule is not None
         isdue, nextcheck = s.schedule.is_due(dt_lastrun)
-        assert isdue is False  # False means task isn't due, but keep checking.
+        assert isdue is False  # False means task is not due, but keep checking.
         assert (nextcheck > 0) and (isdue is False) or \
             (nextcheck == s.max_interval) and (isdue is True)
 
