[Git][reproducible-builds/diffoscope][master] 2 commits: Update tests for file 5.39. (Closes: reproducible-builds/diffoscope#179)

Chris Lamb gitlab at salsa.debian.org
Mon Jun 22 10:18:59 UTC 2020



Chris Lamb pushed to branch master at Reproducible Builds / diffoscope


Commits:
1f7611ae by Chris Lamb at 2020-06-22T10:43:36+01:00
Update tests for file 5.39. (Closes: reproducible-builds/diffoscope#179)

- - - - -
1e93a1cb by Chris Lamb at 2020-06-22T10:49:14+01:00
Downgrade the tlsh warning message to an "info" level warning. (Closes: Debian:#888237, reproducible-builds/diffoscope#29)

- - - - -


3 changed files:

- diffoscope/main.py
- tests/data/archive12.diff.txt
- tests/test_presenters.py


Changes:

=====================================
diffoscope/main.py
=====================================
@@ -659,7 +659,7 @@ def run_diffoscope(parsed_args):
     ProfileManager().setup(parsed_args)
     PresenterManager().configure(parsed_args)
     if not tlsh and "PYTEST_CURRENT_TEST" not in os.environ:
-        logger.warning(
+        logger.info(
             'Fuzzy-matching is currently disabled as the "tlsh" module is unavailable.'
         )
 


=====================================
tests/data/archive12.diff.txt
=====================================
@@ -8,7 +8,7 @@
 │ ├── filetype from file(1)
 │ │ @@ -1 +1 @@
 │ │ -gzip compressed data, max compression, from Unix
-│ │ +gzip compressed data, was "compressed", last modified: Sun Mar 19 22:27:42 2017, max compression, from Unix
+│ │ +gzip compressed data, was "compressed", last modified: Sun Mar 19 22:27:42 2017, max compression, from Unix, truncated
 │ ├── compressed
 │ │ @@ -1 +1 @@
 │ │ -a


=====================================
tests/test_presenters.py
=====================================
@@ -86,7 +86,7 @@ def test_text_option_is_default(capsys):
     assert out == get_data("output.txt")
 
 
- at skip_unless_file_version_is_at_least("5.37")
+ at skip_unless_file_version_is_at_least("5.39")
 def test_text_proper_indentation(capsys):
     out = run(capsys, pair=("archive1.tar", "archive2.tar"))
 



View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/compare/cbf8a2c923a31e10b8e69167aed52cc033a8dd21...1e93a1cb3e85b544f503f7306bc38f130c2a3093

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/compare/cbf8a2c923a31e10b8e69167aed52cc033a8dd21...1e93a1cb3e85b544f503f7306bc38f130c2a3093
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/20200622/ea0e4a6b/attachment.htm>


More information about the rb-commits mailing list