Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed regression in validation tests since example.com is available v…

…ia https now.
  • Loading branch information...
commit 08e5fcb3e641f7f0af873910117a4951fb2719b7 1 parent 0d4ef66
@apollo13 apollo13 authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  tests/modeltests/validation/tests.py
View
1  tests/modeltests/validation/tests.py
@@ -85,6 +85,7 @@ def test_correct_url_with_redirect(self):
mtv = ModelToValidate(number=10, name='Some Name', url_verify='http://qa-dev.w3.org/link-testsuite/http.php?code=301') #example.com is a redirect to iana.org now
self.assertEqual(None, mtv.full_clean()) # This will fail if there's no Internet connection
+ @verify_exists_urls(existing_urls=())
def test_correct_https_url_but_nonexisting(self):
mtv = ModelToValidate(number=10, name='Some Name', url_verify='https://www.example.com/')
self.assertFieldFailsValidationWithMessage(mtv.full_clean, 'url_verify', [u'This URL appears to be a broken link.'])
Please sign in to comment.
Something went wrong with that request. Please try again.