[Git][reproducible-builds/diffoscope][master] Add "pdftotext" as a requirement to run the PDF test_metadata text. Special...

Chris Lamb gitlab at salsa.debian.org
Mon Apr 27 09:38:59 UTC 2020



Chris Lamb pushed to branch master at Reproducible Builds / diffoscope


Commits:
c2a35f90 by Chris Lamb at 2020-04-27T10:36:57+01:00
Add "pdftotext" as a requirement to run the PDF test_metadata text. Special thanks to Chocimier/Piotr for the debugging work. (Closes: reproducible-builds/diffoscope#99)

- - - - -


1 changed file:

- tests/comparators/test_pdf.py


Changes:

=====================================
tests/comparators/test_pdf.py
=====================================
@@ -69,6 +69,7 @@ def differences_metadata(pdf1, pdf1a):
     return pdf1.compare(pdf1a).details
 
 
+ at skip_unless_tools_exist('pdftotext')
 @skip_unless_module_exists('PyPDF2')
 def test_metadata(differences_metadata):
     expected_diff = get_data('pdf_metadata_expected_diff')



View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/c2a35f90dfde94a6cfa27584b7a0407b9e0a7537

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/c2a35f90dfde94a6cfa27584b7a0407b9e0a7537
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20200427/b2dbd310/attachment.htm>


More information about the rb-commits mailing list