# Thursday, January 29, 2015¶

## Some tests where not being run¶

I noticed that some test cases in Lino Welfare were not being run during the test suite. For example lino_welfare.projects.docs.tests. Fixed.

## The LINO_CACHE_ROOT environment variable¶

Lino now makes use of a LINO_CACHE_ROOT environment variable. If this variable is set, then the cached data of demo databases are no longer written into the file tree of the source code repository but below the given directory.

On my machine I have now the following line in my .bashrc file:

export LINO_CACHE_ROOT=/home/luc/tmp/cache


Note that the path should be absolute and without a ~.

This feature was needed because we want to get Lino build on a continuous integratio site such as Travis CI. To enable it for Travis, I modified Lino’s .travis.yml file, changing:

script: fab initdb test


into:



## TODO¶

• Wenn man bei den Neuanträgen jemanden ablehnt, kommt ein internal server error
• Add a TestCase which automatically runs python manage.py test in every demo project.