Commit 1bbb0a40 authored by Romain Courteaud's avatar Romain Courteaud

Only one month in advance is generated

parent fab4c850
...@@ -17,8 +17,8 @@ class TestVifibInstanceHostingRelatedDocument(TestVifibSlapWebServiceMixin): ...@@ -17,8 +17,8 @@ class TestVifibInstanceHostingRelatedDocument(TestVifibSlapWebServiceMixin):
causality_relative_url=hosting_subscription.getRelativeUrl(), causality_relative_url=hosting_subscription.getRelativeUrl(),
sort_on=(('delivery.start_date', 'desc'),) sort_on=(('delivery.start_date', 'desc'),)
) )
# are next two months covered? # is next month covered?
self.assertEqual(2, len(delivery_list)) self.assertEqual(1, len(delivery_list))
# generate the expected time frames # generate the expected time frames
now = DateTime() now = DateTime()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment