[ckan-changes] commit/ckanext-solr: John Glover: Add synchronous search tests

Bitbucket commits-noreply at bitbucket.org
Mon Aug 15 16:48:51 UTC 2011


1 new changeset in ckanext-solr:

http://bitbucket.org/okfn/ckanext-solr/changeset/6846331a5384/
changeset:   6846331a5384
user:        John Glover
date:        2011-08-15 18:48:49
summary:     Add synchronous search tests
affected #:  2 files (3.4 KB)

--- a/tests/test_package_search.py	Mon Aug 15 16:32:24 2011 +0100
+++ b/tests/test_package_search.py	Mon Aug 15 17:48:49 2011 +0100
@@ -240,6 +240,7 @@
         options.filter_by_openness = only_open
         options.filter_by_downloadable = only_downloadable
         result = self.backend.query_for(model.Package).run(query=unicode(terms))
+        print result
         pkgs = result['results']
         count = result['count']
         assert count == expected_count, (count, expected_count)

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