On 20/12/13 12:16, Johannes Raggam wrote:
> In plone/app/event/tests/test_base_module.py:
>
>> +            (u'Past Event', '2013-04-25 00:00:00', '2013-04-25 23:59:59'),
>> +            (u'Long Event', '2013-04-25 10:00:00', '2013-06-04 10:00:00'),
>> +            (u'Past Recur', '2013-04-25 11:00:00', '2013-04-25 12:00:00'),
>> +            (u'Now Event', '2013-05-05 10:00:00', '2013-05-05 11:00:00'),
>> +            (u'Tomorrow event', '2013-05-06 10:00:00', '2013-05-06 23:59:59'),
>> +            (u'Future Event', '2013-05-15 10:00:00', '2013-05-15 11:00:00')]
>> +        self.assertEqual(res, expect, self.diff(res, expect))
>> +
>> +        # limited events
>> +        res = self.fmt(get_events(self.portal, expand=False,
>> +                                  limit=3,
>> +                                  ret_mode=RET_MODE_ACCESSORS))
>> +        self.assertEqual(res, expect[:3], self.diff(res, expect[:3]))
>> +
>> +    def test_expand_start(self):
>> +        # now+future events
>
> @gyst <https://github.com/gyst> shouldn't these test methods from here
> on read "test_no_expand_XYZ"? the expand parameter is set to False...

You're right: for all of those s/expand/noexpand/


-- 
     Guido Stevens  |  +31.43.3618933  |  http://cosent.nl

     s o c i a l   k n o w l e d g e   t e c h n o l o g y