[Python-modules-team] Bug#806344: Fixed in 1.2.7
Neil Williams
codehelp at debian.org
Tue Dec 22 10:26:01 UTC 2015
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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20151222/3168d4d1/attachment.sig>
More information about the Python-modules-team
mailing list