1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
From: Matthias Kestenholz <mk@feinheit.ch>
Date: Fri, 15 May 2020 08:51:33 +0200
Subject: Adapt the test suite to changes in Django
Forwarded: not-needed
Origin: vendor, https://github.com/matthiask/django-js-asset/commit/232536ba50a2e1a0cffc6046dbcdfdec22cb0d9e
---
tox.ini | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/tox.ini b/tox.ini
index b20a434..632842d 100644
--- a/tox.ini
+++ b/tox.ini
@@ -14,3 +14,31 @@ deps =
dj32: Django>=3.2,<4.0
dj40: Django>=4.0,<4.1
djmain: https://github.com/django/django/archive/main.tar.gz
+ Django
+ coverage
+changedir = {toxinidir}
+skip_install = true
+commands =
+ coverage run tests/manage.py test -v 2 testapp
+ coverage html
+
+
+[testenv:tests-old]
+basepython = python2
+deps =
+ Django<1.8
+changedir = {toxinidir}
+skip_install = true
+commands =
+ python tests/manage.py test -v 2 testapp
+
+
+[testenv:tests-master]
+deps =
+ https://github.com/django/django/archive/master.zip
+ coverage
+changedir = {toxinidir}
+skip_install = true
+commands =
+ coverage run tests/manage.py test -v 2 testapp
+ coverage html
|