[Python-modules-commits] r12821 - in packages/python-django/branches/experimental/debian (2 files)

lamby at users.alioth.debian.org lamby at users.alioth.debian.org
Thu May 6 09:27:40 UTC 2010


    Date: Thursday, May 6, 2010 @ 09:27:39
  Author: lamby
Revision: 12821

Refresh "01_disable_url_verify_regression_tests.diff".

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

Modified: packages/python-django/branches/experimental/debian/changelog
===================================================================
--- packages/python-django/branches/experimental/debian/changelog	2010-05-06 09:27:34 UTC (rev 12820)
+++ packages/python-django/branches/experimental/debian/changelog	2010-05-06 09:27:39 UTC (rev 12821)
@@ -2,6 +2,7 @@
 
   * New upstream release candidate.
   * Remove "02-embedded_code_copies.diff" - not needed anymore.
+  * Refresh "01_disable_url_verify_regression_tests.diff".
 
  -- Chris Lamb <lamby at debian.org>  Thu, 06 May 2010 08:33:37 +0100
 

Modified: packages/python-django/branches/experimental/debian/patches/01_disable_url_verify_regression_tests.diff
===================================================================
--- packages/python-django/branches/experimental/debian/patches/01_disable_url_verify_regression_tests.diff	2010-05-06 09:27:34 UTC (rev 12820)
+++ packages/python-django/branches/experimental/debian/patches/01_disable_url_verify_regression_tests.diff	2010-05-06 09:27:39 UTC (rev 12821)
@@ -5,10 +5,10 @@
  .
  This is a Debian specific patch.
 
-diff -urNad /tmp/bp-build/Django-1.2-alpha-1.orig/tests/regressiontests/forms/fields.py /tmp/bp-build/Django-1.2-alpha-1/tests/regressiontests/forms/fields.py
---- Django-1.2-alpha-1.orig/tests/regressiontests/forms/fields.py	2010-01-06 11:25:04.000000000 +0000
-+++ Django-1.2-alpha-1/tests/regressiontests/forms/fields.py	2010-01-06 11:26:28.000000000 +0000
-@@ -511,26 +511,6 @@
+diff -urNad Django-1.2-rc-1.orig/tests/regressiontests/forms/fields.py Django-1.2-rc-1/tests/regressiontests/forms/fields.py
+--- Django-1.2-rc-1.orig/tests/regressiontests/forms/fields.py	2010-05-06 08:39:00.000000000 +0100
++++ Django-1.2-rc-1/tests/regressiontests/forms/fields.py	2010-05-06 08:39:41.000000000 +0100
+@@ -513,33 +513,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')
  
@@ -26,6 +26,13 @@
 -            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_40(self):
 -        f = URLField(verify_exists=True, required=False)




More information about the Python-modules-commits mailing list