Commit 0fb6d8ab authored by Ximin Luo's avatar Ximin Luo

tests/comparators/test_deb: make test_md5sums less brittle

parent f5e9215f
......@@ -81,7 +81,10 @@ def test_identification_of_md5sums_in_deb(deb1, deb2, monkeypatch):
def test_md5sums(differences):
assert differences[1].details[0].details[1].details[0].comment == 'Files differ'
assert differences[1].details[0].details[1].details[0].comment
# we skip diffing the md5sums since it's not interesting, the actual files are diffed instead
assert not differences[1].details[0].details[1].details[0].unified_diff
assert not differences[1].details[0].details[1].details[0].details
def test_identical_files_in_md5sums(deb1, deb2):
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment