Fixed #7559 -- Updated newforms unit tests to reflect the fact that http://www.jfoiwjfoi23jfoijoaijfoiwjofiwjefewl.com is no longer a valid domain name

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7775 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2008-06-27 21:47:58 +00:00
parent 8aec66f144
commit 40d2b419ab
2 changed files with 2 additions and 2 deletions

View File

@ -237,7 +237,7 @@ ValidationError: [u'REQUIRED']
Traceback (most recent call last): Traceback (most recent call last):
... ...
ValidationError: [u'INVALID'] ValidationError: [u'INVALID']
>>> f.clean('http://www.jfoiwjfoi23jfoijoaijfoiwjofiwjefewl.com') >>> f.clean('http://www.test.invalid')
Traceback (most recent call last): Traceback (most recent call last):
... ...
ValidationError: [u'INVALID LINK'] ValidationError: [u'INVALID LINK']

View File

@ -887,7 +887,7 @@ u'http://www.google.com'
Traceback (most recent call last): Traceback (most recent call last):
... ...
ValidationError: [u'Enter a valid URL.'] ValidationError: [u'Enter a valid URL.']
>>> f.clean('http://www.jfoiwjfoi23jfoijoaijfoiwjofiwjefewl.com') # bad domain >>> f.clean('http://www.test.invalid') # bad domain
Traceback (most recent call last): Traceback (most recent call last):
... ...
ValidationError: [u'This URL appears to be a broken link.'] ValidationError: [u'This URL appears to be a broken link.']