'If leaves are not involved, only calendar attendances (basic
company configuration) are taken in account'

def test_trivial_calendar_no_leaves(self):

    r = self.env['resource.resource'].create({'name': 'Trivial    Calendar', 'calendar_id': self._calendar.id})
    self.assertEqual([d for d in self._days if (d.weekday() not in (5, 6))], list(r._iter_work_days(WAR_START, WAR_END)))
