Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Chris Beaven authored May 05, 2011

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  tests/modeltests/validation/tests.py
4  tests/modeltests/validation/tests.py
@@ -58,11 +58,11 @@ def test_correct_url_but_nonexisting_gives_404(self):
58 58
         self.assertFieldFailsValidationWithMessage(mtv.full_clean, 'url', [u'This URL appears to be a broken link.'])
59 59
 
60 60
     def test_correct_url_value_passes(self):
61  
-        mtv = ModelToValidate(number=10, name='Some Name', url='http://www.djangoproject.com/')
  61
+        mtv = ModelToValidate(number=10, name='Some Name', url='http://www.example.com/')
62 62
         self.assertEqual(None, mtv.full_clean()) # This will fail if there's no Internet connection
63 63
 
64 64
     def test_correct_https_url_but_nonexisting(self):
65  
-        mtv = ModelToValidate(number=10, name='Some Name', url='https://www.djangoproject.com/')
  65
+        mtv = ModelToValidate(number=10, name='Some Name', url='https://www.example.com/')
66 66
         self.assertFieldFailsValidationWithMessage(mtv.full_clean, 'url', [u'This URL appears to be a broken link.'])
67 67
 
68 68
     def test_correct_ftp_url_but_nonexisting(self):

0 notes on commit 21027a0

Please sign in to comment.
Something went wrong with that request. Please try again.