[ckan-dev] CKAN testing questions

David Read david.read at hackneyworkshop.com
Fri Jun 8 14:19:41 UTC 2012


On 8 June 2012 10:29, Sean Hammond <sean.hammond at okfn.org> wrote:
> Hi Jim,
>
>> I'm doing a clean install of 1.7.1 via source this week and I have a
>> couple of questions about the tests...
>>
>> Referring to the testing part of the docs here:
>> http://docs.ckan.org/en/ckan-1.7/test.html#basic-tests
>>
>> My CKAN .ini file is not named "development.ini" so I just made a copy
>> in the same folder that is named "development.ini" -- is that OK or is
>> it going to cause any of the tests to fail?
>
> That's fine and shouldn't cause any problems. You could also make a
> symlink called development.ini to your ini file.
>
>> If the latter, is there a way to run the nosetests command against a
>> specified .ini file as opposed to the hardcoded development one?
>
> I don't think there is, the nosetests command has the -c option but from
> a very brief trial doesn't seem to do what I expected.

You do it with: --with-pylons=xyz.ini

Dave

>
>> I guess that's just one question despite the subject line but I'm sure
>> I'll have more once I start reviewing the results of the tests that
>> failed :-)
>
> Feel free to send them on :)
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev




More information about the ckan-dev mailing list