From bcad22655fab64ae70d8b27bba67fb028c0211b1 Mon Sep 17 00:00:00 2001 From: Ramiro Morales Date: Mon, 13 Jun 2011 17:38:17 +0000 Subject: [PATCH] Removed a name clash in a test method. Refs #16246. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16392 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- tests/regressiontests/forms/tests/extra.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/regressiontests/forms/tests/extra.py b/tests/regressiontests/forms/tests/extra.py index b8b32cb1515f3..67a5ffc7b1a1b 100644 --- a/tests/regressiontests/forms/tests/extra.py +++ b/tests/regressiontests/forms/tests/extra.py @@ -495,7 +495,7 @@ def test_generic_ipaddress_as_ipv4_only(self): self.assertFormErrors([u'Enter a valid IPv4 address.'], f.clean, 'fe80::223:6cff:fe8a:2e8a') self.assertFormErrors([u'Enter a valid IPv4 address.'], f.clean, '2a02::223:6cff:fe8a:2e8a') - def test_generic_ipaddress_as_ipv4_only(self): + def test_generic_ipaddress_as_ipv6_only(self): f = GenericIPAddressField(protocol="IPv6") self.assertFormErrors([u'This field is required.'], f.clean, '') self.assertFormErrors([u'This field is required.'], f.clean, None)