observatory-extension/scripts
2016-05-17 08:30:02 -04:00
..
autotest.py use school district point for clipped geoms too 2016-05-16 15:32:40 -04:00
generate_fixtures.py updates fixtures 2016-05-17 08:28:23 -04:00
README.md first-pass automatic testing 2016-05-12 14:21:31 -04:00
requirements.txt first-pass automatic testing 2016-05-12 14:21:31 -04:00

Automatic tests and utilities

Installation

Python 2.7 should cover you. Virtualenv recommended.

virtualenv venv
source venv/bin/activate
pip install -r requirements.txt

Execution

Run automated tests against a hostname:

(venv) OBS_HOSTNAME=<hostname.cartodb.com> OBS_API_KEY=foobar nosetests autotest.py