'Test retry_until_ok does not mask authorization failures in
MongoDB 2.4.'

def test_retry_until_ok_authorization_mongodb_24(self):

    with self.assertRaises(errors.OperationFailure):
        retry_until_ok(err_func, errors.OperationFailure('', details={'errmsg': 'unauthorized'}))
    self.assertEqual(err_func.counter, 1)
