ckan / ckanext-spatial

Geospatial extension for CKAN
http://docs.ckan.org/projects/ckanext-spatial
126 stars 193 forks source link

Fix functional tests for CKAN 2.9.x #216

Open kmbn opened 5 years ago

kmbn commented 5 years ago

CKAN 2.9.x breaks the functional tests because they rely on the legacy Pylons routing rather than the new Flask routing. This PR adds a check for the CKAN version and then uses the appropriate routing in the functional tests. The Travis build against CKAN master will now succeed; the builds against CKAN 2.8 and lower are unaffected.

frafra commented 2 years ago

Is this still relevant?