Skip to content

Commit a33bb40

Browse files
committed
Clean travis + fix tox versions + remove Signal parameter.
1 parent 2c4983d commit a33bb40

File tree

6 files changed

+13
-57
lines changed

6 files changed

+13
-57
lines changed

Diff for: .travis.yml

-37
This file was deleted.

Diff for: README.md

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
[![Python Versions](https://img.shields.io/pypi/pyversions/django-oidc-provider.svg)](https://pypi.python.org/pypi/django-oidc-provider)
44
[![PyPI Versions](https://img.shields.io/pypi/v/django-oidc-provider.svg)](https://pypi.python.org/pypi/django-oidc-provider)
55
[![Documentation Status](https://readthedocs.org/projects/django-oidc-provider/badge/?version=master)](http://django-oidc-provider.readthedocs.io/)
6-
[![Travis](https://travis-ci.org/juanifioren/django-oidc-provider.svg?branch=master)](https://travis-ci.org/juanifioren/django-oidc-provider)
76

87
## About OpenID
98

Diff for: oidc_provider/signals.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
from django.dispatch import Signal
33

44

5-
user_accept_consent = Signal(providing_args=['user', 'client', 'scope'])
6-
user_decline_consent = Signal(providing_args=['user', 'client', 'scope'])
5+
user_accept_consent = Signal()
6+
user_decline_consent = Signal()

Diff for: oidc_provider/tests/cases/test_authorize_endpoint.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ def test_prompt_login_parameter(self, logout_function):
395395

396396
response = self._auth_request('get', data, is_user_authenticated=True)
397397
self.assertIn(settings.get('OIDC_LOGIN_URL'), response['Location'])
398-
self.assertTrue(logout_function.called_once())
398+
logout_function.assert_called_once()
399399
self.assertNotIn(
400400
quote('prompt=login'),
401401
response['Location'],

Diff for: setup.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,10 @@
3232
'Operating System :: OS Independent',
3333
'Programming Language :: Python',
3434
'Programming Language :: Python :: 3',
35-
'Programming Language :: Python :: 3.5',
36-
'Programming Language :: Python :: 3.6',
37-
'Programming Language :: Python :: 3.7',
3835
'Programming Language :: Python :: 3.8',
3936
'Programming Language :: Python :: 3.9',
37+
'Programming Language :: Python :: 3.10',
38+
'Programming Language :: Python :: 3.11',
4039
'Topic :: Internet :: WWW/HTTP',
4140
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
4241
],

Diff for: tox.ini

+8-13
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
[tox]
22
envlist=
33
docs,
4-
5-
py35-django{111,20,21,22},
6-
py36-django{111,20,21,22,30,31,32},
7-
py37-django{111,20,21,22,30,31,32},
8-
py38-django{20,21,22,30,31,32},
9-
py39-django{20,21,22,30,31,32},
4+
py38-django{32,40,41,42},
5+
py39-django{32,40,41,42},
6+
py310-django{32,40,41,42},
7+
py311-django{32,40,41,42},
108
flake8
119

1210
[testenv]
@@ -15,17 +13,14 @@ changedir=
1513
deps =
1614
mock
1715
psycopg2-binary
18-
pytest==4.6.0
16+
pytest
1917
pytest-django
2018
pytest-flake8
2119
pytest-cov
22-
django111: django>=1.11,<1.12
23-
django20: django>=2.0,<2.1
24-
django21: django>=2.1,<2.2
25-
django22: django>=2.2,<3.0
26-
django30: django>=3.0,<3.1
27-
django31: django>=3.1,<3.2
2820
django32: django>=3.2,<3.3
21+
django40: django>=4.0,<4.1
22+
django41: django>=4.1,<4.2
23+
django42: django>=4.2,<4.3
2924

3025
commands =
3126
pytest --cov=oidc_provider {posargs}

0 commit comments

Comments
 (0)