Commits (2)
diffoscope (229) UNRELEASED; urgency=medium
diffoscope (229) unstable; urgency=medium
* WIP (generated upon release).
[ Chris Lamb ]
* Skip test_html.py::test_diff if html2text is not installed.
(Closes: #1026034)
[ Holger Levsen ]
* Bump standards version to 4.6.2, no changes needed.
-- Chris Lamb <lamby@debian.org> Fri, 02 Dec 2022 08:16:30 +0000
-- Chris Lamb <lamby@debian.org> Tue, 20 Dec 2022 23:12:16 +0000
diffoscope (228) unstable; urgency=medium
......
......@@ -17,4 +17,4 @@
# You should have received a copy of the GNU General Public License
# along with diffoscope. If not, see <https://www.gnu.org/licenses/>.
VERSION = "228"
VERSION = "229"
......@@ -21,6 +21,7 @@ import pytest
from diffoscope.comparators.html import HtmlFile
from ..utils.data import assert_diff, load_fixture
from ..utils.tools import skip_unless_tools_exist
html1 = load_fixture("test1.html")
......@@ -41,6 +42,7 @@ def differences(html1, html2):
return html1.compare(html2)
@skip_unless_tools_exist("html2text")
def test_diff(differences):
assert_diff(differences, "html_expected_diff")
assert_diff(differences.details[0], "html_text_expected_diff")