Commit 8a4bad68 authored by Nicolas Delaby's avatar Nicolas Delaby

typo

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24524 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6dd69557
......@@ -131,8 +131,8 @@ class TestDateUtils(unittest.TestCase):
aggregation_level = 'day'
interval_list_dict = getIntervalListBetweenDates(from_date=from_date,
to_date=to_date,
keys={'day':True})
date_list = interval_list_dict.get('day')
keys={aggregation_level:True})
date_list = interval_list_dict.get(aggregation_level)
self.assertEqual(len(date_list), 12)
for index, date in enumerate(date_list):
if index == 0:
......
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