[Git][reproducible-builds/diffoscope][master] Prevent odt2txt tests from always being skipped due to an (impossibly) new...
Chris Lamb (@lamby)
gitlab at salsa.debian.org
Tue Apr 16 08:51:45 UTC 2024
Chris Lamb pushed to branch master at Reproducible Builds / diffoscope
Commits:
8e6f778c by Chris Lamb at 2024-04-16T09:50:58+01:00
Prevent odt2txt tests from always being skipped due to an (impossibly) new version requirement. (Closes: reproducible-builds/diffoscope#369)
- - - - -
2 changed files:
- tests/comparators/test_odt.py
- tests/data/odt_expected_diff
Changes:
=====================================
tests/comparators/test_odt.py
=====================================
@@ -52,11 +52,11 @@ def differences(odt1, odt2):
return odt1.compare(odt2).details
- at skip_unless_tool_is_at_least("odt2txt", odt2txt_version, "0.7")
+ at skip_unless_tool_is_at_least("odt2txt", odt2txt_version, "0.5")
def test_diff(differences):
assert_diff(differences[0], "odt_expected_diff")
- at skip_unless_tool_is_at_least("odt2txt", odt2txt_version, "0.7")
+ at skip_unless_tool_is_at_least("odt2txt", odt2txt_version, "0.5")
def test_compare_non_existing(monkeypatch, odt1):
assert_non_existing(monkeypatch, odt1, has_null_source=False)
=====================================
tests/data/odt_expected_diff
=====================================
@@ -1,3 +1,3 @@
@@ -1 +1 @@
--a
-+b
+-a
++b
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/8e6f778cb5bf4c01516918d128c78b32e3b9f085
--
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/8e6f778cb5bf4c01516918d128c78b32e3b9f085
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/20240416/2b8eb3c5/attachment.htm>
More information about the rb-commits
mailing list