[Reproducible-commits] [diffoscope] 04/17: fixup typo

Jérémy Bobbio lunar at moszumanska.debian.org
Tue Dec 8 18:15:20 UTC 2015


This is an automated email from the git hooks/post-receive script.

lunar pushed a commit to branch pu/parallel2
in repository diffoscope.

commit ca46873dedf2ad25d8ff3f8009d70822180b31a2
Author: Jérémy Bobbio <lunar at debian.org>
Date:   Tue Dec 8 18:00:31 2015 +0100

    fixup typo
---
 tests/comparators/test_deb.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/comparators/test_deb.py b/tests/comparators/test_deb.py
index c9533e7..5689b45 100644
--- a/tests/comparators/test_deb.py
+++ b/tests/comparators/test_deb.py
@@ -42,7 +42,7 @@ def test_identification(deb1):
 
 def test_no_differences(deb1):
     difference = deb1.compare(deb1)
-    assert difference is None
+    assert not difference
 
 @pytest.fixture
 def differences(deb1, deb2):
@@ -80,7 +80,7 @@ def test_identification_of_md5sums_in_deb(deb1, deb2, monkeypatch):
 
 @pytest.mark.skipif(tool_missing('ar'), reason='missing ar')
 def test_md5sums(differences):
-    assert differences[1].details[0].details[1].notification == 'Files in package differs'
+    assert differences[1].details[0].details[1].notification == 'Files in package differ'
 
 @pytest.mark.skipif(tool_missing('ar'), reason='missing ar')
 def test_identical_files_in_md5sums(deb1, deb2):

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git



More information about the Reproducible-commits mailing list