Commit 254903f5 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by Yaya
Browse files

paperless-ngx: remove not matching substitute

> substituteStream(): WARNING: pattern 'this is awebp document' doesn't match anything in file 'src/paperless_tesseract/tests/test_parser.py'
parent 3b3b5cbb
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -271,10 +271,6 @@ python.pkgs.buildPythonApplication rec {
    # Disable unneeded code coverage test
    substituteInPlace src/setup.cfg \
      --replace "--cov --cov-report=html --cov-report=xml" ""
    # OCR on NixOS recognizes the space in the picture, upstream CI doesn't.
    # See https://github.com/paperless-ngx/paperless-ngx/pull/2216
    substituteInPlace src/paperless_tesseract/tests/test_parser.py \
      --replace "this is awebp document" "this is a webp document"
  '';

  disabledTests = [