Spatialite GML test failure
The GML returned from Spatialite has changed format in version 3.0 and above. When testing with Spatialite 3.0 and 3.1, the regex in test_gml no longer returns a match.
======================================================================
FAIL: test_gml (django.contrib.gis.tests.geoapp.tests.GeoQuerySetTest)
Testing GML output from the database using GeoQuerySet.gml().
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/brian/.virtualenvs/django/django.git/django/contrib/gis/tests/geoapp/tests.py", line 530, in test_gml
self.assertTrue(gml_regex.match(ptown.gml))
AssertionError: None is not true
----------------------------------------------------------------------
Ran 234 tests in 6.342s
FAILED (failures=1)
Change History
(5)
Triage Stage: |
Unreviewed → Ready for checkin
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
A simple fix is available here:
https://github.com/bkg/django/tree/ticket_18968