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',