Commit bd17e455 authored by Hugo Herter's avatar Hugo Herter
Browse files

python3Packages.django-weasyprint: disable failing test with weasyprint 68

test_get_pdf_download_and_options tries to open /static/css/print.css
in the Nix test environment and fails with FileNotFoundError.

Disable this single upstream test so the package keeps building while
retaining the rest of the test suite.
parent 1bbad2ca
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -33,6 +33,11 @@ buildPythonPackage rec {
    pytestCheckHook
  ];

  disabledTests = [
    # Fails with weasyprint >= 68 (tries to open /static/css/print.css in test env)
    "test_get_pdf_download_and_options"
  ];

  pythonImportsCheck = [ "django_weasyprint" ];

  meta = {