#16812: FieldsTests.test_urlfield_10 fails since r16760
---------------------------+-------------------------------------------
     Reporter:  aaugustin  |                    Owner:  nobody
         Type:  Bug        |                   Status:  new
    Milestone:             |                Component:  Forms
      Version:  SVN        |                 Severity:  Release blocker
     Keywords:             |             Triage Stage:  Unreviewed
    Has patch:  0          |      Needs documentation:  0
  Needs tests:  0          |  Patch needs improvement:  0
Easy pickings:  0          |                    UI/UX:  0
---------------------------+-------------------------------------------
 This failure happen in Python 2.5 and 2.6 but it apparently doesn't show
 up on all OSes.

 The CI server reports it:
 *
 
http://ci.djangoproject.com/job/Django/database=sqlite3,python=python2.5/lastCompletedBuild/testReport/regressiontests.forms.tests.fields/FieldsTests/test_urlfield_10/
 *
 
http://ci.djangoproject.com/job/Django/database=sqlite3,python=python2.6/lastCompletedBuild/testReport/regressiontests.forms.tests.fields/FieldsTests/test_urlfield_10/
 *
 
http://ci.djangoproject.com/job/Django/database=sqlite3,python=python2.7/lastCompletedBuild/testReport/regressiontests.forms.tests.fields/FieldsTests/test_urlfield_10/



 Here's what I get under OS X Lion, with Python from Mac Ports:
 {{{

 myk@mYk tests % PYTHONPATH=.. python2.5 runtests.py --settings=test_sqlite
 forms
 ~/Documents/dev/django-trunk/tests
 Creating test database for alias 'default'...
 Creating test database for alias 'other'...
 
...................................................................................................................................E...................................................................................................................................................................................
 ======================================================================
 ERROR: test_urlfield_10 (regressiontests.forms.tests.fields.FieldsTests)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/Users/myk/Documents/dev/django-
 trunk/tests/regressiontests/forms/tests/fields.py", line 697, in
 test_urlfield_10
     self.assertEqual(url, f.clean(url))
   File "/Users/myk/Documents/dev/django-trunk/django/forms/fields.py",
 line 153, in clean
     self.run_validators(value)
   File "/Users/myk/Documents/dev/django-trunk/django/forms/fields.py",
 line 142, in run_validators
     raise ValidationError(errors)
 ValidationError: [u'Enter a valid URL.']

 ----------------------------------------------------------------------
 Ran 311 tests in 2.924s

 FAILED (errors=1)
 Destroying test database for alias 'default'...
 Destroying test database for alias 'other'...
 myk@mYk tests % PYTHONPATH=.. python2.6 runtests.py --settings=test_sqlite
 forms
 ~/Documents/dev/django-trunk/tests
 Creating test database for alias 'default'...
 Creating test database for alias 'other'...
 
...................................................................................................................................E...................................................................................................................................................................................
 ======================================================================
 ERROR: test_urlfield_10 (regressiontests.forms.tests.fields.FieldsTests)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/Users/myk/Documents/dev/django-
 trunk/tests/regressiontests/forms/tests/fields.py", line 697, in
 test_urlfield_10
     self.assertEqual(url, f.clean(url))
   File "/Users/myk/Documents/dev/django-trunk/django/forms/fields.py",
 line 153, in clean
     self.run_validators(value)
   File "/Users/myk/Documents/dev/django-trunk/django/forms/fields.py",
 line 142, in run_validators
     raise ValidationError(errors)
 ValidationError: [u'Enter a valid URL.']

 ----------------------------------------------------------------------
 Ran 311 tests in 1.941s

 FAILED (errors=1)
 Destroying test database for alias 'default'...
 Destroying test database for alias 'other'...
 myk@mYk tests % PYTHONPATH=.. python2.7 runtests.py --settings=test_sqlite
 forms
 ~/Documents/dev/django-trunk/tests
 Creating test database for alias 'default'...
 Creating test database for alias 'other'...
 
.......................................................................................................................................................................................................................................................................................................................
 ----------------------------------------------------------------------
 Ran 311 tests in 2.666s

 OK
 Destroying test database for alias 'default'...
 Destroying test database for alias 'other'...
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16812>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to