python3Packages.django-mptt: disable tests when using Django 6

The tests seem to only fail due to HTML differences.
This commit is contained in:
Minijackson
2026-09-15 09:03:58 +02:00
committed by Martin Weinelt
parent d0001b3f9e
commit 1c0e708fef

View File

@@ -37,6 +37,9 @@ buildPythonPackage rec {
pytest-django
];
# XXX: some HTML tests fail with Django 6.1+
doCheck = lib.versionOlder django.version "6.1";
preCheck = ''
export DJANGO_SETTINGS_MODULE=tests.settings
export PYTHONPATH=$(pwd)/tests:$PYTHONPATH