This can fail, sometimes. I think its because the timings can be too close, since it relies on current utcnow()
values.
FAIL: allura.tests.unit.test_ldap_auth_provider.TestLdapAuthenticationProvider.test_set_password_sets_last_updated ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/lib/jenkins/tmp/allura-venv/lib/python2.7/site-packages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/var/lib/jenkins/tmp/allura-venv/lib/python2.7/site-packages/mock.py", line 1201, in patched return func(*args, **keywargs) File "<http://jenkins.sdot.me/job/allura/ws/Allura/allura/tests/unit/test_ldap_auth_provider.py",> line 117, in test_set_password_sets_last_updated assert_true(user.last_password_updated < now2) AssertionError: False is not true
I'll work on this next week.
Closed #706.
ib/7516