Skip to content

Conversation

NotSqrt
Copy link

@NotSqrt NotSqrt commented Oct 29, 2014

Running the test is as simple as:

tox

If you want to run them manually:

cd examples/protected_downloads
python manage.py test sendfile

Tests work for django 1.4 -> 1.7, and python 2.6, 2.7, 3.2, 3.3, 3.4.
Dropped support for django 1.3, minimal django is now 1.4.2, because it is the minimal version that is effectively compatible with python 3.

Let me know what you think of this !

@NotSqrt
Copy link
Author

NotSqrt commented Oct 29, 2014

cf #25

@johnsensible
Copy link
Owner

Sorry for not having looked at this. I might eventually get to this, but my capacity is pretty low ATM. Lots of client work, plus small children...

Anyway, I've never used tox before - I might need a little guidance...

@NotSqrt
Copy link
Author

NotSqrt commented Jan 19, 2015

The config is done, so nothing to do here, except adding new settings when django 1.8 arrives.

All you need to do is installing tox, and execute tox.
It will create multiple venv with the proper dependencies, and run tests for all combinations:
django 1.5/1.6/1.7 on python 2.7 and on py3.3, etc.

Very useful for checking the compatibility of the module.

EvaSDK added a commit to lexfo/django-sendfile that referenced this pull request Apr 5, 2017
EvaSDK added a commit to lexfo/django-sendfile that referenced this pull request Apr 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants