commit | e77691b1362d986a6cca4f61132a420e1bb3cb18 | [log] [tgz] |
---|---|---|
author | Daniel Hans <daniel.m.hans@gmail.com> | Fri Mar 20 10:06:06 2015 +0100 |
committer | Daniel Hans <daniel.m.hans@gmail.com> | Fri Mar 20 10:06:06 2015 +0100 |
tree | 6b14a5acdac9e52f24109699d8abe692967a8966 | |
parent | 22956b04ade9b049592603b2825a12a60811b5a0 [diff] |
_TEST_DEADLINE date is not hardcoded but set to today() instead. The problem is that all other dates related to the tested program are set independently from this hardcoded date and are based on utcnow() method. Program timeline is seeded based on future() and past() helper methods which, by default, add or substract a timedelta of 100 days from today. 100 days from 2014/12/09 passed and now even if past() is called to set a date, the date comes after 2014/12/09. Therefore, a unit test which depended on that relationship started to fail. Change-Id: Id0ebe922927dacdd389e2f4799ed59eaf8208d26
Melange -- Spice of Creation