[ckan-changes] commit/ckan: John Glover: [solr] Update index error test: package-edit rename to dataset-edit

Bitbucket commits-noreply at bitbucket.org
Mon Sep 19 16:37:07 UTC 2011


1 new changeset in ckan:

http://bitbucket.org/okfn/ckan/changeset/c9525e19a47a/
changeset:   c9525e19a47a
branch:      feature-1275-solr-search
user:        John Glover
date:        2011-09-19 18:36:50
summary:     [solr] Update index error test: package-edit rename to dataset-edit
affected #:  1 file (-1 bytes)

--- a/ckan/tests/functional/test_package.py	Mon Sep 19 17:30:34 2011 +0100
+++ b/ckan/tests/functional/test_package.py	Mon Sep 19 17:36:50 2011 +0100
@@ -988,7 +988,7 @@
             search.common.solr_url = bad_solr_url
             plugins.load('synchronous_search')
 
-            fv = self.res.forms['package-edit']
+            fv = self.res.forms['dataset-edit']
             prefix = ''
             fv['log_message'] = u'Test log message'
             res = fv.submit('save', status=500)
@@ -1242,7 +1242,7 @@
 
             offset = url_for(controller='package', action='new')
             res = self.app.get(offset)
-            fv = res.forms['package-edit']
+            fv = res.forms['dataset-edit']
             fv['name'] = new_package_name
 
             # this package shouldn't actually be created but

Repository URL: https://bitbucket.org/okfn/ckan/

--

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