From 4321d48dc2025a90f8fb596ba82434a163f9e9a0 Mon Sep 17 00:00:00 2001 From: kakwa Date: Wed, 17 Jun 2015 20:51:21 +0200 Subject: [PATCH] more logs --- .travis.yml | 4 +++- tests/test_BackendLdap.py | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 07ce603..1342b23 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,6 +22,8 @@ install: - pip install coveralls # command to run tests script: - - coverage run --source=ldapcherry setup.py test || cat /var/log/syslog && exit 1 + - coverage run --source=ldapcherry setup.py test after_success: - coveralls +after_failure: + - sudo cat /var/log/syslog diff --git a/tests/test_BackendLdap.py b/tests/test_BackendLdap.py index fc28d5d..ad54417 100644 --- a/tests/test_BackendLdap.py +++ b/tests/test_BackendLdap.py @@ -19,7 +19,7 @@ cfg = { 'userdn' : 'ou=People,dc=example,dc=org', 'binddn' : 'cn=dnscherry,dc=example,dc=org', 'password' : 'password', -'uri' : 'ldap://ldap.ldapcherry.org:390', +'uri' : 'ldap://ldap.dnscherry.org:390', 'ca' : './tests/test_env/etc/ldapcherry/TEST-cacert.pem', 'starttls' : 'off', 'checkcert' : 'off',