[ckan-changes] commit/ckanext-dgu: kindly: fix to work with new logic funcitions arguments.

Bitbucket commits-noreply at bitbucket.org
Wed Jul 27 11:31:49 UTC 2011


1 new changeset in ckanext-dgu:

http://bitbucket.org/okfn/ckanext-dgu/changeset/082efbb40b4a/
changeset:   082efbb40b4a
user:        kindly
date:        2011-07-27 13:10:08
summary:     fix to work with new logic funcitions arguments.
affected #:  1 file (17 bytes)

--- a/ckanext/dgu/tests/functional/test_filters.py	Tue Jul 26 14:58:22 2011 +0100
+++ b/ckanext/dgu/tests/functional/test_filters.py	Wed Jul 27 12:10:08 2011 +0100
@@ -33,9 +33,8 @@
         c.hide_welcome_message = False
         context = {'model': model, 'session': model.Session,
                    'user': c.user,
-                   'id':c.pkg.id,
                    'package':c.pkg}
-        c.pkg_dict = get.package_show(context)
+        c.pkg_dict = get.package_show(context, {'id':c.pkg.id})
         
         # Render package view page
         # (filter should not be called on this occasion)

Repository URL: https://bitbucket.org/okfn/ckanext-dgu/

--

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