Testing

Continuous integration provided by Travis CI.

master (latest stable):
travis-ci-master
develop (bleeding edge):
travis-ci-develop

Test requirements

See requirements.txt:

pytest
pytest-cov
pytest-django
pytest-pep8
pytest-pythonpath

Running the tests

Once your requirements are installed, the unit tests can be run with:

$ py.test tests/ --cov admin_honeypot --cov-report term-missing --pep8 admin_honeypot

...

=============== 5 passed, 12 skipped in 0.46 seconds ===============

For testing against different Python versions, we use Tox. Please be aware that this only tests against the latest Django release.

$ tox

...

_______________ summary _______________
py27: commands succeeded
py33: commands succeeded
congratulations :)