[ckan-dev] logic layer tests

David Read david.read at okfn.org
Mon Feb 6 12:04:54 UTC 2012


On 5 February 2012 18:21, Sean Hammond <sean.hammond at okfn.org> wrote:

> 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/**eb52431797a3f0fb5957e536cf29ab**
>> 9f0b9a48bb<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?
>

Yes, that sounds like a good plan.

Dave


>
> ______________________________**_________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/**listinfo/ckan-dev<http://lists.okfn.org/mailman/listinfo/ckan-dev>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20120206/5999e025/attachment-0001.html>


More information about the ckan-dev mailing list