mirror of
https://github.com/jazzband/django-constance.git
synced 2026-03-16 22:40:24 +00:00
Run tests on django 3.2
This commit is contained in:
parent
a16cca3e8f
commit
45bcfc1a4a
2 changed files with 7 additions and 7 deletions
|
|
@ -1,9 +1,11 @@
|
|||
import django
|
||||
from django.utils.functional import LazyObject
|
||||
from . import checks
|
||||
|
||||
__version__ = '2.8.0'
|
||||
|
||||
default_app_config = 'constance.apps.ConstanceConfig'
|
||||
if django.VERSION < (3, 2): # pragma: no cover
|
||||
default_app_config = 'constance.apps.ConstanceConfig'
|
||||
|
||||
|
||||
class LazyConfig(LazyObject):
|
||||
|
|
|
|||
10
tox.ini
10
tox.ini
|
|
@ -1,11 +1,8 @@
|
|||
[tox]
|
||||
envlist =
|
||||
py{36,37,38,39,py3}-dj{22}-unittest
|
||||
py{36,37,py3}-dj{30,31}-unittest
|
||||
py{36,37,py3}-dj{22,30,31}-pytest
|
||||
py{38,39}-dj{30,31,main}-unittest
|
||||
py{38,39}-dj{22,30,31,main}-pytest
|
||||
|
||||
py{36,37,38,39,py3}-dj{22,30,31,32}-{unittest,pytest}
|
||||
py{38,39}-djmain-{unittest,pytest}
|
||||
|
||||
[testenv]
|
||||
deps =
|
||||
redis
|
||||
|
|
@ -15,6 +12,7 @@ deps =
|
|||
dj22: Django>=2.2,<3.0
|
||||
dj30: Django>=3.0,<3.1
|
||||
dj31: Django>=3.1,<3.2
|
||||
dj32: Django~=3.2b
|
||||
djmain: https://github.com/django/django/archive/main.tar.gz
|
||||
pytest: pytest
|
||||
pytest: pytest-cov
|
||||
|
|
|
|||
Loading…
Reference in a new issue