diff options
author | Matthias Runge <mrunge@redhat.com> | 2015-03-26 14:04:18 +0100 |
---|---|---|
committer | lin-hua-cheng <os.lcheng@gmail.com> | 2015-08-06 22:10:47 -0700 |
commit | da2395146eb0cc351f1ee46848a142433629d53a (patch) | |
tree | 42b60847c7143be17a5d10ac53ebbf682b710652 /tox.ini | |
parent | 2fcf6f569afaf6962db1ef706ebb3a2a934b7865 (diff) | |
download | django_openstack_auth-da2395146eb0cc351f1ee46848a142433629d53a.tar.gz |
Extend User from AbstractBaseUser and AnonymousUser
Django-1.8 added _meta classes for User models,
which aren't supported by AnonymousUsers, the
AbstractBaseUser provides default implementation
for _meta classes.
SimpleTest has been deprecated since Django-1.6 and
was now removed.
Unfortunately, this change drops Django-1.6 (and earlier) compatibility.
Co-Authored-By: Lin Hua Cheng <os.lcheng@gmail.com>
Partially Implements: blueprint django18
Change-Id: Ie243fd2304421694023f579f49f8fa201e761ba3
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 15 |
1 files changed, 6 insertions, 9 deletions
@@ -1,7 +1,7 @@ [tox] minversion = 1.6 skipsdist = True -envlist = py27,py27dj14,py27dj15,py27dj16,pep8,py33,py34 +envlist = py27,py27dj17,py27dj18,pep8,py33,py34 [testenv] usedevelop = True @@ -24,22 +24,19 @@ commands = python -m coverage html --include='openstack_auth/*' --omit='openstack_auth/tests/*' -d 'reports' python -m coverage xml --include='openstack_auth/*' --omit='openstack_auth/tests/*' -[testenv:py27dj16] -commands = pip install django>=1.6,<1.7 +[testenv:py27dj17] +commands = pip install django>=1.7,<1.8 python openstack_auth/tests/run_tests.py {posargs} -[testenv:py27dj15] -commands = pip install django>=1.5,<1.6 - python openstack_auth/tests/run_tests.py {posargs} - -[testenv:py27dj14] -commands = pip install django>=1.4,<1.5 +[testenv:py27dj18] +commands = pip install django>=1.8,<1.9 python openstack_auth/tests/run_tests.py {posargs} [testenv:pep8] setenv = DJANGO_SETTINGS_MODULE=openstack_auth.tests.settings commands = flake8 + [testenv:venv] commands = {posargs} |