Skip to content
GitLab
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Reproducible Builds
diffoscope
Compare revisions
e980ce7c9004a8efe2d8168cef41bd709170f402...2017884f59ae0f962da0c4b511fe8f5806ad5e8f
Commits (2)
Skip test_html.py::test_diff if html2text is not installed. (Closes: Debian:#1026034)
· 49859283
Chris Lamb
authored
Dec 20, 2022
49859283
releasing package diffoscope version 229
· 2017884f
Chris Lamb
authored
Dec 20, 2022
2017884f
Hide whitespace changes
Inline
Side-by-side
debian/changelog
View file @
2017884f
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
...
...
diffoscope/__init__.py
View file @
2017884f
...
...
@@ -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
=
"22
8
"
VERSION
=
"22
9
"
tests/comparators/test_html.py
View file @
2017884f
...
...
@@ -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"
)