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

View File

@ -6,7 +6,7 @@
, django-guardian , django-guardian
, pythonOlder , pythonOlder
, pytest-django , pytest-django
, pytestCheckHook , pytest7CheckHook
, pytz , pytz
, pyyaml , pyyaml
, uritemplate , uritemplate
@ -32,7 +32,7 @@ buildPythonPackage rec {
nativeCheckInputs = [ nativeCheckInputs = [
pytest-django pytest-django
pytestCheckHook pytest7CheckHook
# optional tests # optional tests
coreapi coreapi
@ -41,11 +41,6 @@ buildPythonPackage rec {
uritemplate 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" ]; pythonImportsCheck = [ "rest_framework" ];
meta = with lib; { meta = with lib; {