[diffoscope] 01/03: test_cpio: Check we identify all CPIO fixtures.

Chris Lamb chris at chris-lamb.co.uk
Sat Sep 9 12:16:56 CEST 2017


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

lamby pushed a commit to branch master
in repository diffoscope.

commit 6e02ece575600fd854bd34ccbe953271aa76744a
Author: Chris Lamb <lamby at debian.org>
Date:   Fri Sep 8 16:20:24 2017 +0100

    test_cpio: Check we identify all CPIO fixtures.
---
 tests/comparators/test_cpio.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/comparators/test_cpio.py b/tests/comparators/test_cpio.py
index 03c15c0..00d65a2 100644
--- a/tests/comparators/test_cpio.py
+++ b/tests/comparators/test_cpio.py
@@ -29,8 +29,9 @@ from ..utils.nonexisting import assert_non_existing
 cpio1 = load_fixture('test1.cpio')
 cpio2 = load_fixture('test2.cpio')
 
-def test_identification(cpio1):
+def test_identification(cpio1, cpio2):
     assert isinstance(cpio1, CpioFile)
+    assert isinstance(cpio2, CpioFile)
 
 def test_no_differences(cpio1):
     difference = cpio1.compare(cpio1)

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


More information about the diffoscope mailing list