Commit a5466329 authored by Nicolas Dumazet's avatar Nicolas Dumazet

force a commit, so that accessors are generated.

(Previously, aq_reset was run synchronously, whereas now regeneration happens
as a before commit hook)


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43034 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7237c1e3
No related merge requests found
......@@ -96,6 +96,9 @@ class TestCalendar(ERP5ReportTestCase):
self._addPropertySheet('Presence Request Period', 'CalendarPeriodConstraint')
self._addPropertySheet('Group Presence Period', 'CalendarPeriodConstraint')
# regenerate accessors after category changes & portal type changes
transaction.commit()
def beforeTearDown(self):
transaction.abort()
for module in (self.portal.group_calendar_module,
......
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