Hi Andreas, Here is an alternative solution: in version 1.2.2 you can override the default cache directory with -g:
$ python csb/test/app.py --generated-resources /tmp What do you think? Version 1.2.2 can be downloaded from PyPI or CodePlex Best regards, Ivan On Dec 25, 2013 10:02 AM, "Andreas Tille" <andr...@an3as.eu> wrote: > Hi Ivan, > > On Wed, Dec 25, 2013 at 08:56:02AM +0000, Ivan Kalev wrote: > > The problem with /var/lib or cache is that it won't work on windows. The > > advantage of ~ is that python resolves it to user's home directory on any > > platform. Transparent portability is somehow essential in csb. > > OK, sorry for my *NIX centric view. :-) > > > But there are other options as well: > > > > 1) Use a temp directory and setup/teardown the text fixture every time. > > > > 2) Skip some tests at runtime if the resources they depend on are > missing. > > These tests are important during development, but not at all essential > > during installation. So it is perfectly okay to skip them. > > > > Both solutions are very easy to implement. > > IMHO both solutions sound reasonable for our purpose. I trust you to > pick the better one from your position. > > Kind regards > > Andreas. > > -- > http://fam-tille.de >