[ckan-changes] commit/ckanext-solr: John Glover: Add note explaining why one of the geographic coverage tests is failing
Bitbucket
commits-noreply at bitbucket.org
Mon Aug 15 15:32:35 UTC 2011
1 new changeset in ckanext-solr:
http://bitbucket.org/okfn/ckanext-solr/changeset/69bd92dc2642/
changeset: 69bd92dc2642
user: John Glover
date: 2011-08-15 17:32:24
summary: Add note explaining why one of the geographic coverage tests is failing
affected #: 1 file (157 bytes)
--- a/tests/test_package_search.py Mon Aug 15 16:20:40 2011 +0100
+++ b/tests/test_package_search.py Mon Aug 15 16:32:24 2011 +0100
@@ -314,7 +314,9 @@
self._do_search(u'united kingdom', ['uk'], 1)
self._do_search(u'great britain', ['gb'], 1)
- # TODO: fix this test
+ # TODO: solr is not currently set up to allow partial matches
+ # and extras are not saved as multivalued so this
+ # test will fail. Make multivalued or remove?
# def test_1_filtered(self):
# self._filtered_search(u'england', ['eng', 'eng_ni', 'uk', 'gb'], 4)
@@ -356,7 +358,7 @@
self._do_search(u'cde abc', 'c', 1)
# TODO: solr is not currently set up to allow partial matches
# and extras are not saved as multivalued so these
- # tests will fail. Make multivalued or remote these?
+ # tests will fail. Make multivalued or remove these?
# self._do_search(u'abc', ['a', 'c'], 2)
# self._do_search(u'cde', 'c', 1)
# self._do_search(u'abc cde', 'c', 1)
Repository URL: https://bitbucket.org/okfn/ckanext-solr/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the ckan-changes
mailing list