yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #28941
[Bug 1427165] Re: unittest2 deprecated in Django
already fixed with commit
https://github.com/openstack/horizon/commit/8e8c084847280f3f8e975910b498ed9fbb3a69c8
** Changed in: horizon
Status: New => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1427165
Title:
unittest2 deprecated in Django
Status in OpenStack Dashboard (Horizon):
Invalid
Bug description:
https://docs.djangoproject.com/en/1.7/topics/testing/overview
/#writing-tests
Python 2.7 introduced some major changes to the unittest library,
adding some extremely useful features. To ensure that every Django
project could benefit from these new features, Django used to ship
with a copy of Python 2.7’s unittest backported for Python 2.6
compatibility.
Since Django no longer supports Python versions older than 2.7,
django.utils.unittest is deprecated. Simply use unittest.
openstack_dashboard/test/api_tests/rest_util_tests.py
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1427165/+subscriptions
References