diff options
| author | Chris Beaven <smileychris@gmail.com> | 2011-05-05 23:11:03 +0000 |
|---|---|---|
| committer | Chris Beaven <smileychris@gmail.com> | 2011-05-05 23:11:03 +0000 |
| commit | 21027a05c2b82045c376d5fef1c9f5502238e684 (patch) | |
| tree | 89480beca132521fb24c6bf6e78621e3f23d9a82 | |
| parent | 8eccb728ccd97a07b9281d3a7c2c6bac105f285f (diff) | |
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
| -rw-r--r-- | tests/modeltests/validation/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/modeltests/validation/tests.py b/tests/modeltests/validation/tests.py index cbd7cb8034..4236d8e7c4 100644 --- a/tests/modeltests/validation/tests.py +++ b/tests/modeltests/validation/tests.py @@ -58,11 +58,11 @@ class BaseModelValidationTests(ValidationTestCase): 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): |
