python311Packages.djangorestframework: test with pytest 7
This commit is contained in:
parent
968876ed83
commit
73072f314a
|
@ -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; {
|
||||
|
|
Loading…
Reference in New Issue