[ckan-dev] Create a temporary database for CKAN plugin nose tests
Nigel Babu
nigel.babu at okfn.org
Mon Feb 25 07:51:05 UTC 2013
Hi Genhan,
Does the setup and teardown methods[1] in the core CKAN tests help you
create/drop a temporary database for testing?
[1]
https://github.com/okfn/ckan/blob/master/ckan/tests/models/test_group.py#L9
On 23 February 2013 00:41, Genhan Chen <genhan.chen at azgs.az.gov> wrote:
> Hello,
>
> Does CKAN provide a mechanism to create/drop a temporary database for its
> nose tests? I would like to test our plugin in a temporary CKAN database.
>
> Thanks,
>
> --
> Genhan Chen
>
> Arizona Geological Survey
> http://www.azgs.az.gov/
>
> Phone: 520-209-4136
> Email: genhan.chen at azgs.az.gov
>
>
> ______________________________**_________________
> 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>
> Unsubscribe: http://lists.okfn.org/mailman/**options/ckan-dev<http://lists.okfn.org/mailman/options/ckan-dev>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130225/f7e200b8/attachment-0001.html>
More information about the ckan-dev
mailing list