Fixing hard-coded date in ScheduleItemFactory to +90 days
# Standard Library
import datetime
+from datetime import timedelta
import uuid
# Third Party Stuff
@@ -138,7 +139,7 @@ class ScheduleItemFactory(Factory):
strategy = factory.CREATE_STRATEGY
event_date = fuzzy.FuzzyDate(datetime.date.today(),
- datetime.date(2017, 1, 1)).fuzz()
+ datetime.date.today() + timedelta(days=90)).fuzz()
start_time = fuzzy.FuzzyChoice(['9:30.750000', ]).fuzz()
end_time = fuzzy.FuzzyChoice(['10:15.750000', ]).fuzz()
conference = factory.SubFactory("tests.factories.ConferenceFactory")
