[ckan-dev] logic layer tests

Sean Hammond sean.hammond at okfn.org
Sun Feb 5 18:21:01 UTC 2012


On 01/31/2012 12:41 PM, David Read wrote:
> Just a 'heads up' about the CKAN logic layer tests. These have been all
> living in ckan/tests/functional/api/test_action.py. I've now moved this
> file into a new directory ckan/tests/logic so that these crucial tests
> are a bit more visible, rather than being tucked away with all the
> controller tests.
> https://github.com/okfn/ckan/commit/eb52431797a3f0fb5957e536cf29ab9f0b9a48bb
>
> David and I also agreed that we should split this file up, but I've
> deferred that for a few weeks, so that merging from branches is not
> disrupted too much.

It looks like these test the logic action functions via the API? That's 
the same way I tested the activity streams feature, but I put the tests 
in ckan/tests/functional/api/test_activity.py. I guess I should move 
that file into tests/logic?




More information about the ckan-dev mailing list