Skip to content

Commit

Permalink
test with django 2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
nwolff committed May 2, 2019
1 parent b8bdd02 commit fd0be99
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 4 deletions.
2 changes: 1 addition & 1 deletion netaxept/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = '0.2.0'
__version__ = '0.2.1'
__copyright__ = 'Copyright (c) 2018, skioo SA'
__license__ = 'MIT'
__URL__ = 'https://github.com/skioo/django-netaxept-gateway'
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
url=netaxept.__URL__,
download_url='https://pypi.python.org/pypi/django-datatrans-gateway',
install_requires=[
'Django>=2.0,<2.2',
'Django>=2.0',
'structlog',
'suds2',
'requests',
Expand Down
19 changes: 19 additions & 0 deletions tests/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,30 @@
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.messages',
'django.contrib.contenttypes',
'netaxept',
'tests',
]

MIDDLEWARE = [
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
]

TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'OPTIONS': {
'context_processors': [
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
],
},
},
]

STATIC_URL = '/static/'

ROOT_URLCONF = 'tests.urls'
5 changes: 3 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
envlist =
{py36,py37}-{django20, django21}-test
py37-django21-{checkmigrations,flake,mypy}
{py36,py37}-{django20, django21, django22}-test
py37-django22-{checkmigrations,flake,mypy}

[testenv]
basepython =
Expand All @@ -15,6 +15,7 @@ commands =
deps =
django20: Django>=2.0,<2.1
django21: Django>=2.1,<2.2
django22: Django>=2.2,<2.3
structlog
suds2
requests
Expand Down

0 comments on commit fd0be99

Please sign in to comment.