Unverified Commit aca3a555 authored by Robert Schütz's avatar Robert Schütz Committed by GitHub
Browse files

Merge pull request #333933 from dotlambda/python3Packages.pytest-django

python312Packages.pytest-django: run all tests
parents 1fc12028 e707213f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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";
+6 −3
Original line number Diff line number Diff line
@@ -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;
  };