Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[1.3.X] Fixes #15975 -- Test failure in model validation tests due to…

… us now having https://www.djangoproject.com

Backport of r16163 from trunk

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16164 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit d06531d3f01347f51c494b6275b89ff4607037b3 1 parent 64e625b
@SmileyChris SmileyChris authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/modeltests/validation/tests.py
View
4 tests/modeltests/validation/tests.py
@@ -58,11 +58,11 @@ def test_correct_url_but_nonexisting_gives_404(self):
self.assertFieldFailsValidationWithMessage(mtv.full_clean, 'url', [u'This URL appears to be a broken link.'])
def test_correct_url_value_passes(self):
- mtv = ModelToValidate(number=10, name='Some Name', url='http://www.djangoproject.com/')
+ mtv = ModelToValidate(number=10, name='Some Name', url='http://www.example.com/')
self.assertEqual(None, mtv.full_clean()) # This will fail if there's no Internet connection
def test_correct_https_url_but_nonexisting(self):
- mtv = ModelToValidate(number=10, name='Some Name', url='https://www.djangoproject.com/')
+ mtv = ModelToValidate(number=10, name='Some Name', url='https://www.example.com/')
self.assertFieldFailsValidationWithMessage(mtv.full_clean, 'url', [u'This URL appears to be a broken link.'])
def test_correct_ftp_url_but_nonexisting(self):
Please sign in to comment.
Something went wrong with that request. Please try again.