#16683: Make ipv6 tests in regressiontests.admin_scripts.tests.ManageRunserver
skippable if ipv6 support isn't present
--------------------+-----------------------------------
Reporter: bugs@… | Owner: nobody
Type: Bug | Status: new
Milestone: | Component: Testing framework
Version: 1.3 | Severity: Normal
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Easy pickings: 0
UI/UX: 0 |
--------------------+-----------------------------------
Running the test suite with a python without ipv6 support will result in
this:
{{{
======================================================================
ERROR: test_runserver_addrport
(regressiontests.admin_scripts.tests.ManageRunserver)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/var/tmp/portage/dev-
python/django-1.3/work/Django-1.3/tests/regressiontests/admin_scripts/tests.py",
line 1056, in test_runserver_addrport
self.cmd.handle(addrport="", use_ipv6=True)
File "/var/tmp/portage/dev-
python/django-1.3/work/Django-1.3/django/core/management/commands/runserver.py",
line 42, in handle
raise CommandError('Your Python does not support IPv6.')
CommandError: Your Python does not support IPv6.
}}}
The test runner should skip these tests if ipv6 isn't available.
FWIW, Gentoo bug with moar output here:
https://bugs.gentoo.org/show_bug.cgi?id=371057
--
Ticket URL: <https://code.djangoproject.com/ticket/16683>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.