Commit 9f9d8e16 authored by Ximin Luo's avatar Ximin Luo

tests: more fixes for the new zipinfo behaviour

parent dcf2d40c
......@@ -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
......
......@@ -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'
......
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