Commit 8e6f778c authored by Chris Lamb's avatar Chris Lamb 👀
Browse files

Prevent odt2txt tests from always being skipped due to an (impossibly) new...

Prevent odt2txt tests from always being skipped due to an (impossibly) new version requirement. (Closes: #369)
parent 99afaf60
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -52,11 +52,11 @@ def differences(odt1, odt2):
    return odt1.compare(odt2).details


@skip_unless_tool_is_at_least("odt2txt", odt2txt_version, "0.7")
@skip_unless_tool_is_at_least("odt2txt", odt2txt_version, "0.5")
def test_diff(differences):
    assert_diff(differences[0], "odt_expected_diff")


@skip_unless_tool_is_at_least("odt2txt", odt2txt_version, "0.7")
@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)
+2 −2
Original line number Diff line number Diff line
@@ -1 +1 @@
-a
+b
-a
+b