Loading pkgs/development/python-modules/pytest-django/default.nix +3 −8 Original line number Diff line number Diff line Loading @@ -7,7 +7,6 @@ setuptools-scm, django-configurations, pytest, pytest-xdist, pytestCheckHook, }: Loading @@ -33,23 +32,18 @@ buildPythonPackage rec { nativeCheckInputs = [ django-configurations pytest-xdist # pytest-xidst causes random errors in the form of: django.db.utils.OperationalError: no such table: app_item pytestCheckHook ]; preCheck = '' # bring pytest_django_test module into PYTHONPATH export PYTHONPATH="$(pwd):$PYTHONPATH" export PYTHONPATH="$PWD:$PYTHONPATH" # test the lightweight sqlite flavor export DJANGO_SETTINGS_MODULE="pytest_django_test.settings_sqlite" ''; disabledTests = [ # AttributeError: type object 'TestLiveServer' has no attribute '_test_settings_before_run' "test_settings_restored" ]; __darwinAllowLocalNetworking = true; meta = with lib; { Loading @@ -57,5 +51,6 @@ buildPythonPackage rec { description = "Pytest plugin for testing of Django applications"; homepage = "https://pytest-django.readthedocs.org/en/latest/"; license = licenses.bsd3; maintainers = [ ]; }; } Loading
pkgs/development/python-modules/pytest-django/default.nix +3 −8 Original line number Diff line number Diff line Loading @@ -7,7 +7,6 @@ setuptools-scm, django-configurations, pytest, pytest-xdist, pytestCheckHook, }: Loading @@ -33,23 +32,18 @@ buildPythonPackage rec { nativeCheckInputs = [ django-configurations pytest-xdist # pytest-xidst causes random errors in the form of: django.db.utils.OperationalError: no such table: app_item pytestCheckHook ]; preCheck = '' # bring pytest_django_test module into PYTHONPATH export PYTHONPATH="$(pwd):$PYTHONPATH" export PYTHONPATH="$PWD:$PYTHONPATH" # test the lightweight sqlite flavor export DJANGO_SETTINGS_MODULE="pytest_django_test.settings_sqlite" ''; disabledTests = [ # AttributeError: type object 'TestLiveServer' has no attribute '_test_settings_before_run' "test_settings_restored" ]; __darwinAllowLocalNetworking = true; meta = with lib; { Loading @@ -57,5 +51,6 @@ buildPythonPackage rec { description = "Pytest plugin for testing of Django applications"; homepage = "https://pytest-django.readthedocs.org/en/latest/"; license = licenses.bsd3; maintainers = [ ]; }; }