python311Packages.djangorestframework: test with pytest 7

This commit is contained in:
Martin Weinelt 2024-03-27 06:00:00 +01:00
parent 968876ed83
commit 73072f314a
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
1 changed files with 2 additions and 7 deletions

View File

@ -6,7 +6,7 @@
, django-guardian
, pythonOlder
, pytest-django
, pytestCheckHook
, pytest7CheckHook
, pytz
, pyyaml
, uritemplate
@ -32,7 +32,7 @@ buildPythonPackage rec {
nativeCheckInputs = [
pytest-django
pytestCheckHook
pytest7CheckHook
# optional tests
coreapi
@ -41,11 +41,6 @@ buildPythonPackage rec {
uritemplate
];
pytestFlagsArray = [
# ytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release.
"-W" "ignore::pytest.PytestRemovedIn8Warning"
];
pythonImportsCheck = [ "rest_framework" ];
meta = with lib; {