Update pytest version and related packages (#1820)

Co-authored-by: Raphael Michel <mail@raphaelmichel.de>
This commit is contained in:
Richard Schreiber
2020-10-24 12:39:55 +02:00
committed by GitHub
parent a0dd8f74e4
commit 8037a8ce7f
3 changed files with 9 additions and 7 deletions

View File

@@ -7,10 +7,10 @@ flake8==3.7.*
codecov codecov
coverage coverage
pytest-cov pytest-cov
pytest==5.3.* pytest==6.*
pytest-django pytest-django==4.*
isort isort
pytest-rerunfailures==8.* pytest-rerunfailures==9.*
pytest-mock==2.0.* pytest-mock==2.0.*
responses responses
potypo potypo

View File

@@ -167,12 +167,12 @@ setup(
'pep8-naming', 'pep8-naming',
'coveralls', 'coveralls',
'coverage', 'coverage',
'pytest==5.3.*', 'pytest==6.*',
'pytest-django', 'pytest-django==4.*',
'pytest-xdist==1.31.*', 'pytest-xdist==1.31.*',
'isort', 'isort',
'pytest-mock==2.0.*', 'pytest-mock==2.0.*',
'pytest-rerunfailures==8.*', 'pytest-rerunfailures==9.*',
'responses', 'responses',
'potypo', 'potypo',
'freezegun', 'freezegun',

View File

@@ -2,9 +2,11 @@ import datetime
import time import time
from decimal import Decimal from decimal import Decimal
from unittest import mock from unittest import mock
# deprecated: from django.utils.http import urlquote
# use urlib instead
from urllib.parse import quote as urlquote
import pytest import pytest
from django.utils.http import urlquote
from django.utils.timezone import now from django.utils.timezone import now
from django_countries.fields import Country from django_countries.fields import Country
from django_scopes import scopes_disabled from django_scopes import scopes_disabled