Commit 40d2b419 authored by Adrian Holovaty's avatar Adrian Holovaty
Browse files

Fixed #7559 -- Updated newforms unit tests to reflect the fact that...

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
parent 8aec66f1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -237,7 +237,7 @@ ValidationError: [u'REQUIRED']
Traceback (most recent call last):
...
ValidationError: [u'INVALID']
>>> f.clean('http://www.jfoiwjfoi23jfoijoaijfoiwjofiwjefewl.com')
>>> f.clean('http://www.test.invalid')
Traceback (most recent call last):
...
ValidationError: [u'INVALID LINK']
+1 −1
Original line number Diff line number Diff line
@@ -887,7 +887,7 @@ u'http://www.google.com'
Traceback (most recent call last):
...
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):
...
ValidationError: [u'This URL appears to be a broken link.']