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