[diffoscope] 01/01: tests: more fixes for the new zipinfo behaviour
Ximin Luo
infinity0 at debian.org
Tue Nov 28 21:09:58 CET 2017
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch master
in repository diffoscope.
commit 9f9d8e167a1047cc202b5bc53effc3d1c9e9a641
Author: Ximin Luo <infinity0 at debian.org>
Date: Tue Nov 28 21:09:40 2017 +0100
tests: more fixes for the new zipinfo behaviour
---
tests/comparators/test_apk.py | 4 ++--
tests/comparators/test_epub.py | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/comparators/test_apk.py b/tests/comparators/test_apk.py
index 379cbce..ac4c494 100644
--- a/tests/comparators/test_apk.py
+++ b/tests/comparators/test_apk.py
@@ -56,8 +56,8 @@ def test_compare_non_existing(monkeypatch, apk1):
@skip_unless_tools_exist('apktool', 'zipinfo')
def test_zipinfo(differences):
- assert differences[0].source1 == 'zipinfo {}'
- assert differences[0].source2 == 'zipinfo {}'
+ assert differences[0].source1 == 'zipinfo /dev/stdin'
+ assert differences[0].source2 == 'zipinfo /dev/stdin'
expected_diff = get_data('apk_zipinfo_expected_diff')
assert differences[0].unified_diff == expected_diff
diff --git a/tests/comparators/test_epub.py b/tests/comparators/test_epub.py
index 893d9d5..1a75054 100644
--- a/tests/comparators/test_epub.py
+++ b/tests/comparators/test_epub.py
@@ -47,8 +47,8 @@ def differences(epub1, epub2):
@skip_unless_tools_exist('zipinfo')
def test_differences(differences):
- assert differences[0].source1 == 'zipinfo {}'
- assert differences[0].source2 == 'zipinfo {}'
+ assert differences[0].source1 == 'zipinfo /dev/stdin'
+ assert differences[0].source2 == 'zipinfo /dev/stdin'
assert differences[1].source1 == 'content.opf'
assert differences[1].source2 == 'content.opf'
assert differences[2].source1 == 'toc.ncx'
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git
More information about the diffoscope
mailing list