tag 806344 + fixed-upstream
thanks
Original failure:
for python in python2.7; do \
PYTHONPATH=".:test" $python test/manage.py test django_auth_ldap; \
done
E
======================================================================
ERROR: django_auth_ldap.tests (unittest.loader.ModuleImportFailure)
----------------------------------------------------------------------
ImportError: Failed to import test module: django_auth_ldap.tests
Traceback (most recent call last):
File "/usr/lib/python2.7/unittest/loader.py", line 254, in _find_tests
module = self._get_module_from_name(name)
File "/usr/lib/python2.7/unittest/loader.py", line 232, in
_get_module_from_name
__import__(name)
File
"/home/lamby/temp/cdt.20151126153756.wS2lq3ZXGs/django-auth-ldap-1.2.6+dfsg/django_auth_ldap/tests.py",
line 48, in <module>
from django.utils import unittest
ImportError: cannot import name unittest---------------------------------------------------------------------- Ran 1 test in 0.000s FAILED (errors=1) Testing with the new upstream: $ uscan ... $ uupdate ... django-auth-ldap-1.2.7$ PYTHONPATH=".:test" python test/manage.py test django_auth_ldap Creating test database for alias 'default'... sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss ---------------------------------------------------------------------- Ran 63 tests in 0.001s OK (skipped=63) Destroying test database for alias 'default'... (python for this test === python2.7) Setting up python-mockldap (0.2.5-1) ... django-auth-ldap-1.2.7$ PYTHONPATH=".:test" python test/manage.py test django_auth_ldap Creating test database for alias 'default'... ...........................................s..........s........ ---------------------------------------------------------------------- Ran 63 tests in 0.302s OK (skipped=2) Destroying test database for alias 'default'... Please update to the new upstream. -- Neil Williams ============= http://www.linux.codehelp.co.uk/
pgpuubqbxURV8.pgp
Description: OpenPGP digital signature
_______________________________________________ Python-modules-team mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

