Merge pull request from dotlambda/python3Packages.pytest-django

python312Packages.pytest-django: run all tests
This commit is contained in:
Robert Schütz 2024-08-15 08:05:36 -07:00 committed by GitHub
commit aca3a555f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 3 deletions
pkgs/development/python-modules
django-redis
pytest-django

View File

@ -86,6 +86,8 @@ buildPythonPackage rec {
"test_delete_pattern_calls_scan_iter_with_count_if_itersize_given"
];
__darwinAllowLocalNetworking = true;
meta = with lib; {
description = "Full featured redis cache backend for Django";
homepage = "https://github.com/jazzband/django-redis";

View File

@ -7,6 +7,7 @@
setuptools-scm,
django-configurations,
pytest,
pytest-xdist,
pytestCheckHook,
}:
buildPythonPackage rec {
@ -19,17 +20,18 @@ buildPythonPackage rec {
hash = "sha256-XQVP4BHFbzsQ+Xj0Go77Llrfx+aA7zb7VxraHyR3nZA=";
};
nativeBuildInputs = [
build-system = [
setuptools
setuptools-scm
];
buildInputs = [ pytest ];
propagatedBuildInputs = [ django ];
dependencies = [ django ];
nativeCheckInputs = [
django-configurations
pytest-xdist
pytestCheckHook
];
@ -49,7 +51,8 @@ buildPythonPackage rec {
__darwinAllowLocalNetworking = true;
meta = with lib; {
description = "py.test plugin for testing of Django applications";
changelog = "https://github.com/pytest-dev/pytest-django/blob/v${version}/docs/changelog.rst";
description = "Pytest plugin for testing of Django applications";
homepage = "https://pytest-django.readthedocs.org/en/latest/";
license = licenses.bsd3;
};