[GeoNode-devel] running tests conditionally
simone.dalmasso at gmail.com
Fri Sep 1 00:50:57 PDT 2017
what about adding tests and specific settings for database in your contrib
app? When activating the app you will have to add it to the INSTALLED_APPS
and also add from geonode.contrib.yourapp.settings import *
This way the db will become postgres and the tests of the app will run.
We did something similar for contrib.mp
2017-08-31 22:32 GMT+02:00 Paolo Corti <pcorti at gmail.com>:
> Hi devs
> I have a test module which needs to test a contrib application
> (createlayer, ) which requires PostgreSQL and an existing PostGIS
> database on the system.
> I am planning to have the test module for this contrib application
> called from paver only in the case that the conditions are met. Any
> good idea to implement this?
> thanks and cheers
>  https://github.com/capooti/geonode/tree/create-layer-app
> Paolo Corti
> geonode-devel mailing list
> geonode-devel at lists.osgeo.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the geonode-devel