Skip to content

Commit

Permalink
Fixed #7559 -- Updated newforms unit tests to reflect the fact that h…
Browse files Browse the repository at this point in the history
…ttp://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
  • Loading branch information
adrianholovaty committed Jun 27, 2008
1 parent 8aec66f commit 40d2b41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/regressiontests/forms/error_messages.py
Expand Up @@ -237,7 +237,7 @@
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']
Expand Down
2 changes: 1 addition & 1 deletion tests/regressiontests/forms/fields.py
Expand Up @@ -887,7 +887,7 @@
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.']
Expand Down

0 comments on commit 40d2b41

Please sign in to comment.