Testing

Continuous integration provided by Travis CI.

master (latest stable):

travis-ci-master

develop (bleeding edge):

travis-ci-develop

Test requirements

See requirements.txt:

django>=3.2
django-ipware

pytest
pytest-cov
pytest-django
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 _______________
django-3x: commands succeeded
django-4x: commands succeeded
django-5x: commands succeeded
congratulations :)