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.
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.