[diffoscope] 01/01: tests: try to fix fsimage test on jenkins

Ximin Luo infinity0 at debian.org
Tue Jul 11 15:44:48 CEST 2017


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

infinity0 pushed a commit to branch master
in repository diffoscope.

commit 19aa72472e8914e3a4606f541995fbe4574f5500
Author: Ximin Luo <infinity0 at debian.org>
Date:   Tue Jul 11 15:44:32 2017 +0200

    tests: try to fix fsimage test on jenkins
---
 tests/comparators/test_fsimage.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/comparators/test_fsimage.py b/tests/comparators/test_fsimage.py
index 3a2b3af..2b0d226 100644
--- a/tests/comparators/test_fsimage.py
+++ b/tests/comparators/test_fsimage.py
@@ -31,7 +31,7 @@ from ..utils.tools import skip_unless_tools_exist, skip_unless_module_exists
 img1 = load_fixture('test1.ext4')
 img2 = load_fixture('test2.ext4')
 
- at pytest.fixture(scope="module")
+ at pytest.fixture(scope="session")
 def guestfs_tempdir():
     import guestfs
     with tempfile.TemporaryDirectory(suffix='_diffoscope') as cachedir:

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


More information about the diffoscope mailing list