Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixes #15975 -- Test failure in model validation tests due to us now …

…having https://www.djangoproject.com

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16163 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 21027a05c2b82045c376d5fef1c9f5502238e684 1 parent 8eccb72
@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.