--- a/server/test/unittest_ldapuser.py Thu May 03 15:48:54 2012 +0200
+++ b/server/test/unittest_ldapuser.py Thu May 03 15:50:03 2012 +0200
@@ -105,7 +105,7 @@
session.create_entity('CWSource', name=u'ldapuser', type=u'ldapfeed', parser=u'ldapfeed',
url=URL, config=CONFIG)
session.commit()
- isession = session.repo.internal_session()
+ isession = session.repo.internal_session(safe=True)
lfsource = isession.repo.sources_by_uri['ldapuser']
stats = lfsource.pull_data(isession, force=True, raise_on_error=True)