# HG changeset patch # User Aurelien Campeas # Date 1346429484 -7200 # Node ID d2a6163ce0d52139c1d6691f924d90f56accc754 # Parent 410cbb14f0f5e1c1e930aeba6a6a0eb3420df7d9 fix ldapuser test diff -r 410cbb14f0f5 -r d2a6163ce0d5 server/test/unittest_ldapuser.py --- a/server/test/unittest_ldapuser.py Fri Aug 31 16:50:28 2012 +0200 +++ b/server/test/unittest_ldapuser.py Fri Aug 31 18:11:24 2012 +0200 @@ -138,6 +138,8 @@ 'deactivated') # test reactivating the user isn't enough to authenticate, as the native source # refuse to authenticate user from other sources + os.system(deletecmd) + self._pull() user = self.execute('CWUser U WHERE U login "syt"').get_entity(0, 0) user.cw_adapt_to('IWorkflowable').fire_transition('activate') self.commit()