You will first want to clone the source repository locally with git
:
$ git clone git@github.com:mattrobenolt/django-sudo.git
I would recommend using virtualenv to set up a dev environment. After creating an environment, install all dep dependencies with:
$ pip install -r dev-requirements.txt
Tests are run using pytest and can be found inside
tests/*
.
Tests can simply be run using:
$ py.test
This will discover and run the test suite using your default Python interpreter. To run tests for all supported platforms, we use tox.
$ tox
Patches are accepted via Pull Requests on GitHub.
Note
If you are submitting a security patch, please see our :doc:`/security/index` page for special instructions.
All new code and changed code must come with 100% test coverage to be considered for acceptance.