diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2011-01-27 03:15:12 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2011-01-27 03:15:12 +0000 |
| commit | 9acd00a72e06c9b327089f12a6160aee4182f98b (patch) | |
| tree | 774a81afc0eb819acc7732787d553c5c5293d115 /tests/regressiontests/admin_scripts/tests.py | |
| parent | a5cac772b6b74ed142af6ffe2829c55f1b730d19 (diff) | |
Fixed #15112 -- Ensure that IPv6 addresses are correctly displayed in the admin. Thanks to oxy for the report, and Łukasz Rekucki for the test case.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15343 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/admin_scripts/tests.py')
| -rw-r--r-- | tests/regressiontests/admin_scripts/tests.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/regressiontests/admin_scripts/tests.py b/tests/regressiontests/admin_scripts/tests.py index ae37eb3a95..87a6877e04 100644 --- a/tests/regressiontests/admin_scripts/tests.py +++ b/tests/regressiontests/admin_scripts/tests.py @@ -1025,10 +1025,10 @@ class ManageRunserver(AdminScriptTestCase): # IPv6 self.cmd.handle(addrport="", use_ipv6=True) - self.assertServerSettings('::1', '8000', ipv6=True) + self.assertServerSettings('::1', '8000', ipv6=True, raw_ipv6=True) self.cmd.handle(addrport="7000", use_ipv6=True) - self.assertServerSettings('::1', '7000', ipv6=True) + self.assertServerSettings('::1', '7000', ipv6=True, raw_ipv6=True) self.cmd.handle(addrport="[2001:0db8:1234:5678::9]:7000") self.assertServerSettings('2001:0db8:1234:5678::9', '7000', ipv6=True, raw_ipv6=True) @@ -1045,7 +1045,7 @@ class ManageRunserver(AdminScriptTestCase): # Potentially ambiguous - # Only 4 characters, all of which coudl be in an ipv6 address + # Only 4 characters, all of which could be in an ipv6 address self.cmd.handle(addrport="beef:7654") self.assertServerSettings('beef', '7654') |
