[ckan-changes] [ckan/ckan] 8b21b8: [#1701] Move and clean up search index tests
GitHub
noreply at github.com
Fri May 16 17:12:54 UTC 2014
Branch: refs/heads/1701-date-field-index
Home: https://github.com/ckan/ckan
Commit: 8b21b84cc9399e55078bdef50b0d3d37e2f2f90d
https://github.com/ckan/ckan/commit/8b21b84cc9399e55078bdef50b0d3d37e2f2f90d
Author: amercader <amercadero at gmail.com>
Date: 2014-05-16 (Fri, 16 May 2014)
Changed paths:
A ckan/new_tests/lib/search/test_index.py
M ckan/tests/lib/test_solr_search_index.py
Log Message:
-----------
[#1701] Move and clean up search index tests
Commit: dd2c1ae1e5b6dc835e6021e1d3de53c3040f04d9
https://github.com/ckan/ckan/commit/dd2c1ae1e5b6dc835e6021e1d3de53c3040f04d9
Author: amercader <amercadero at gmail.com>
Date: 2014-05-16 (Fri, 16 May 2014)
Changed paths:
M ckan/new_tests/lib/search/test_index.py
Log Message:
-----------
[#1701] Add tests for date fields, including a failing one for #1701
Commit: 9cf14977c8059ee21eb343bc9fe503b8cc482620
https://github.com/ckan/ckan/commit/9cf14977c8059ee21eb343bc9fe503b8cc482620
Author: amercader <amercadero at gmail.com>
Date: 2014-05-16 (Fri, 16 May 2014)
Changed paths:
M ckan/lib/search/index.py
Log Message:
-----------
[#1701] Don't index empty dates as the current one
When parsing an empty string, dateutil will always use a default one,
which by default is now(). We use here a fake date to see if that was
the case, and if so remove the value from the dict to index.
Compare: https://github.com/ckan/ckan/compare/8b21b84cc939^...9cf14977c805
More information about the ckan-changes
mailing list