Skip to content

Commit

Permalink
Removed a name clash in a test method. Refs #16246.
Browse files Browse the repository at this point in the history
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16392 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
ramiro committed Jun 13, 2011
1 parent c013c07 commit bcad226
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/regressiontests/forms/tests/extra.py
Expand Up @@ -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)
Expand Down

0 comments on commit bcad226

Please sign in to comment.