Opened 14 years ago
Closed 14 years ago
#16683 closed Bug (fixed)
Make ipv6 tests in regressiontests.admin_scripts.tests.ManageRunserver skippable if ipv6 support isn't present
| Reported by: | Owned by: | nobody | |
|---|---|---|---|
| Component: | Testing framework | Version: | 1.3 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
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
Change History (2)
comment:1 by , 14 years ago
| Triage Stage: | Unreviewed → Accepted |
|---|
comment:2 by , 14 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In [17183]: