[Git][reproducible-builds/diffoscope][master] Correctly check for 7z being available, and not lz4, when testing 7z.
Chris Lamb (@lamby)
gitlab at salsa.debian.org
Fri Mar 1 17:21:27 UTC 2024
Chris Lamb pushed to branch master at Reproducible Builds / diffoscope
Commits:
bd13f8bb by Chris Lamb at 2024-03-01T17:20:40+00:00
Correctly check for 7z being available, and not lz4, when testing 7z.
- - - - -
1 changed file:
- tests/comparators/test_sevenz.py
Changes:
=====================================
tests/comparators/test_sevenz.py
=====================================
@@ -46,7 +46,7 @@ def differences(sevenza, sevenzb):
return sevenza.compare(sevenzb).details
- at skip_unless_tools_exist("lz4")
+ at skip_unless_tools_exist("7z")
def test_content_source(differences):
# We gzip our test data image, so we need to go one level deeper.
assert differences[0].source1 == "test1.disk"
@@ -55,7 +55,7 @@ def test_content_source(differences):
assert differences[0].details[0].source2 == "7z l"
- at skip_unless_tools_exist("lz4")
+ at skip_unless_tools_exist("7z")
def test_content_source_without_extension(tmpdir, sevenza, sevenzb):
path1 = str(tmpdir.join("test1"))
path2 = str(tmpdir.join("test2"))
@@ -68,11 +68,11 @@ def test_content_source_without_extension(tmpdir, sevenza, sevenzb):
assert difference[0].source2 == "test2-content"
- at skip_unless_tools_exist("lz4")
+ at skip_unless_tools_exist("7z")
def test_metadata_diff(differences):
assert_diff(differences[0].details[0], "text_sevenzmetadata_expected_diff")
- at skip_unless_tools_exist("lz4")
+ at skip_unless_tools_exist("7z")
def test_compare_non_existing(monkeypatch, sevenza):
assert_non_existing(monkeypatch, sevenza)
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/bd13f8bb5a73d23098c848a29db7f26610219635
--
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/bd13f8bb5a73d23098c848a29db7f26610219635
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/20240301/a98824e4/attachment.htm>
More information about the rb-commits
mailing list