[Python-modules-commits] r16211 - in packages/python-django/trunk/debian (2 files)

lamby at users.alioth.debian.org lamby at users.alioth.debian.org
Thu Mar 24 15:23:21 UTC 2011


    Date: Thursday, March 24, 2011 @ 15:23:09
  Author: lamby
Revision: 16211

Update 01_disable_url_verify_regression_tests.diff.

Modified:
  packages/python-django/trunk/debian/changelog
  packages/python-django/trunk/debian/patches/01_disable_url_verify_regression_tests.diff

Modified: packages/python-django/trunk/debian/changelog
===================================================================
--- packages/python-django/trunk/debian/changelog	2011-03-24 15:22:50 UTC (rev 16210)
+++ packages/python-django/trunk/debian/changelog	2011-03-24 15:23:09 UTC (rev 16211)
@@ -1,6 +1,7 @@
 python-django (1.3-1) UNRELEASED; urgency=low
 
   * New upstream release.
+    - Update 01_disable_url_verify_regression_tests.diff.
 
  -- Chris Lamb <lamby at debian.org>  Thu, 24 Mar 2011 11:33:23 +0000
 

Modified: packages/python-django/trunk/debian/patches/01_disable_url_verify_regression_tests.diff
===================================================================
--- packages/python-django/trunk/debian/patches/01_disable_url_verify_regression_tests.diff	2011-03-24 15:22:50 UTC (rev 16210)
+++ packages/python-django/trunk/debian/patches/01_disable_url_verify_regression_tests.diff	2011-03-24 15:23:09 UTC (rev 16211)
@@ -7,7 +7,7 @@
 
 --- a/tests/regressiontests/forms/tests/fields.py
 +++ b/tests/regressiontests/forms/tests/fields.py
-@@ -515,33 +515,6 @@ class FieldsTests(TestCase):
+@@ -557,27 +557,6 @@
          self.assertRaisesErrorWithMessage(ValidationError, "[u'Enter a valid URL.']", f.clean, 'http://example.')
          self.assertRaisesErrorWithMessage(ValidationError, "[u'Enter a valid URL.']", f.clean, 'http://.com')
  
@@ -16,6 +16,7 @@
 -        self.assertEqual(u'http://www.google.com/', f.clean('http://www.google.com')) # This will fail if there's no Internet connection
 -        self.assertRaisesErrorWithMessage(ValidationError, "[u'Enter a valid URL.']", f.clean, 'http://example')
 -        self.assertRaises(ValidationError, f.clean, 'http://www.broken.djangoproject.com') # bad domain
+-        self.assertRaises(ValidationError, f.clean, 'http://qa-dev.w3.org/link-testsuite/http.php?code=405') # Method not allowed
 -        try:
 -            f.clean('http://www.broken.djangoproject.com') # bad domain
 -        except ValidationError, e:
@@ -25,13 +26,6 @@
 -            f.clean('http://google.com/we-love-microsoft.html') # good domain, bad page
 -        except ValidationError, e:
 -            self.assertEqual("[u'This URL appears to be a broken link.']", str(e))
--        # Valid and existent IDN
--        self.assertEqual(u'http://\u05e2\u05d1\u05e8\u05d9\u05ea.idn.icann.org/', f.clean(u'http://עברית.idn.icann.org/'))
--        # Valid but non-existent IDN
--        try:
--            f.clean(u'http://broken.עברית.idn.icann.org/')
--        except ValidationError, e:
--            self.assertEqual("[u'This URL appears to be a broken link.']", str(e))
 -
 -    def test_urlfield_4(self):
 -        f = URLField(verify_exists=True, required=False)




More information about the Python-modules-commits mailing list